If I make a file foo.exe
, and it contains the files bar.bat
, baz.bat
, and qux.bat
, can I call baz.bat
from within bar.bat
? I mean, if bar.bat
is the file that is executed upon execution of foo.exe
?
I had done something similar using winrar (instead of iexpress) self extracting archive.
The mechanism is like below:
To be sure, change the file bar.bat to contain below script:
@echo off
cd
explorer .
pause
This will print the directory name, where it has extracted & open the directory with explorer.exe. Then you can verify that your baz.bat is in same directory. Give relative path, if required.