How about a launching a batchfile instead of the exe?
Something more or less like this if my brain remembers right.
Where [ENTER] is the enter key, not the literal text.
It will report one bad command or filename because deltree is removed from XP, and rd /s does not work pre-XP (to my unsure and not very certain knowledge).
Something more or less like this if my brain remembers right.
File: LAUNCHAA.BAT @echo off xcopy \Cdfiles\AerialAntics\*.* %temp%\AerialAntics /S /E /C /Q /H /R <y.txt >nul %temp%\AerialAntics\aa.exe deltree %temp%\AerialAntics <y.txt >nul rd %temp%\AerialAntics /s /q <y.txt >nul exit File: Y.TXT y[ENTER] y[ENTER]
Where [ENTER] is the enter key, not the literal text.
It will report one bad command or filename because deltree is removed from XP, and rd /s does not work pre-XP (to my unsure and not very certain knowledge).