Re: Size of translated programs

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 ]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu