islamadel / bat2exe

Automatically exported from code.google.com/p/bat2exe
257 stars 33 forks source link

current directory #3

Open meddev-code opened 7 years ago

meddev-code commented 7 years ago

there is problem to use "current directory" of the exe file

bat > %CURR_DIR% not working vbs > CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) returns: C:\Users\Trader\AppData\Local\Temp\7ZipSfx.000

is there a way to retieve this source path of exe and use it in included scripts?