problem compiling %0

Convert your BATch files into EXEcutable format in one click.
Post Reply
Posts: 1
Joined: Mon Apr 10, 2006 11:09 pm

Post by echu »

Hi. In our scripts, we are using %0 quite commonly to determine the directory that the application is located in. We can then find certain dependencies which are relative to the location of the main batch script. However, this does not seem to work after the compiler is run.

%0 after compilation seems to return the name of a temporary .bat file which is generated at runtime by the compiled executable. Is there any way I can still get this to work?

Post Reply