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 9, '24), Platform 29.5.3 (Jun 27, '24)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, 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