Re: Size of translated programs
- Posted by "Carl W." <euphoria at cyreksoft.yorks.com> Aug 21, 2003
- 462 views
Juergen Luethje wrote: > > In order to automatically translate to smaller executables, I wrote the > following batch file: > @echo off > shroud -clear -out %2 %1 > ecw.exe -bor %2 > > but it does not work. The last command is not executed. Does anyone know > the reason why? 'shroud' is actually a batch file that calls the real shroud.ex* and DOS has a nasty habit of not transferring control back to a calling batch file after another has been run. i.e. in your case it means that control isn't returned to your script when shroud quits. You have to tell it to return control by using the DOS 'call' command: @echo off call shroud -clear -out %2 %1 ecw.exe -bor %2 -- [ Carl R White == aka () = The Domain of Cyrek = ] [ Cyrek the Illogical /\ www.cyreksoft.yorks.com ]