you need a pif file to be able to do close on exit, which would require one for each, or possibly one for just cmd.exe but thats unlikely since its executed directly.
not sure of a global close on exit feature on XP, so other solutions are
create a bat file , use systeminf.bat or such , if you use systeminfo.bat it'll run the exe first, even if its in the path first, and if you rename the exe it will likely put it back with WFP
@systeminfo.exe
pause
or use
cmd /ksysteminfo
|