I often use .bat
scripts that delete, copy, paste, rename, or move files. I’m not sure that when I execute one of these .bat
scripts that I will be able to use the Windows Explorer ‘Undo’ function (and ‘Redo’ if something was ‘undone’).
For example, if I have a .bat
script that simply deletes a file:
DEL /F /S /Q /A "E:Testingbranchesblue.jpg"
will I then be able to use CTRL+Z to undo this action that was executed by the .bat
script?
Lastly, do all functions get treated the same way (rename, move, delete, copy, paste etc) when an undo/redo is used for commands executed by .bat
scripts?
Running Window 10 pro 64 bit