you copy an executable to another folder and compile it? :roll:
OUT_FILE= in the ini file is being a pain for me, i write a main exe for one company, and then copy it to another folder with the ini file, where the same exe compiles with different plugins, which is for a different company...
or you copy the ahk-file + ini-file to another folder? did you realize, that i did a change that goes with your needs:
your script is f.e.:
and your outgoing file is:
compile it once again and in the ini-file you found a new outgoing path:
this means, if you copy the folder to X:\OTHER_AHK_THINGS the script will be:
and the outgoing file now will be:
isnt it what you want?
I need NO path set for OUT_FILE as they are always in %A_WorkingDir%, can you remove the path and just leave the filename please, if i dont manually change the ini file for that ahk it fails on compile or overwrites the main exe i created in the original folder (where original ini pointed).because sometimes i do this for 5 or 6 different compiles of the original ahk, i dont want to have to setup the ini file for each company every time i copy the ahk and its compile ini file.
your program is in %A_WorkingDir% ? so your program is in the same folder as the compile_ahk.exe?