04-01-2016, 01:46 AM
In this case, a compilation of only a single file.
How can I compile batch files from multiple folders?
Function TOOL_BIN
How can I compile batch files from multiple folders?
Function TOOL_BIN
function!
#if EXE=1
#exe addfile "E:\Info\aapt.exe" 2
int+ ___eqgd
if !___eqgd
,lock
,if !___eqgd
,,if !GetModuleHandle("aapte.exe")
,,,_s.expandpath(F"$temp$\a\bin\aapte.exe")
,,,if !FileExists(_s)
,,,,if(!ExeExtractFile(2 _s)) ret ;;also creates folders.
,,,if(!LoadLibraryW(@_s)) ret
,,___eqgd=1
#endif
ret 1