amakvana / Bat-2-Exec

Bat-2-Exec - A wrapper for converting Batch files into Executables using IExpress
MIT License
36 stars 5 forks source link

does not detect other files in the folder #2

Closed AllXanderzzz closed 6 months ago

AllXanderzzz commented 1 year ago

what directory does it run in? temp?

amakvana commented 1 year ago

The way IEXPRESS works is that it copies the bat script into a folder located in %TEMP%\IXP000.TMP\ and then executes it within that directory. Once the script is completed, the folder is then deleted by itself.

So what you can do is hard-code the paths to other files, but ensure they do not exist inside the IXP000.TMP folder

See HERE and HERE for a thorough explanation.

AllXanderzzz commented 1 year ago

thank you