For use by XP onwards with CMD.EXE I have a temporary need for a Run-Once script,
which will do its job and then delete itself because there is no further need for it.
I find I get perfect results without any tricky convolutions in my script,
which typically is this, in the file END_DISK_3.bat on the path R:\#-R-VHD\Sub-1\
Code: Select all
CALL "R:\#-R-VHD\Sub-1\DETACH.BAT" "R:\#-R-VHD\t.vhd"
DEL "R:\#-R-VHD\Sub-1\END_DISK_3.bat"
Are my memories wrong about self-modifying difficulties with Command.com ?
Am I perfectly safe with CMD.EXE - or am I doing something dangerous ?
Am I lucky because CMD.EXE is more user friendly than Command.com ?
Regards
Alan