.bat, batch file command to prevent it from being deleted or closed?

Chris

New member
Is it possible to incorporate If and then commands into a .bat file so that if someone tries to delete the file or close the file the program will instead do something else?
Maybe not if and then commands but some other command?
 
Back
Top