I saw by many portable apps that
they run some code/exe
then the programs starts.
after you close the program again a program or batch file runs that removes certain files.
how would I do that?
RNBY
New: Kanri (Oct 09, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
Please donate today
in AutoIt this is very simple to do:
RunWait("prog.exe")
Run("afterProg.exe")
for more info see AutoIt online docs: http://www.autoitscript.com/autoit3/docs/functions/RunWait.htm
In a batch file...
xcopy from_here to_there
regedit that
start /w "something.exe"
REM tells the computer to wait for "something.exe" to finish
REM before executing the rest of the code
regedit delete_that
rmdir delete_this_directory