I am working on Patch installer and am stuck at one point. When I run my patch file (.bat) file then it copies files to c:\abc path which contains a.txt,b.txt etc files.
In case if there is any problem while copy or any error occurs while doing this. Then I want to rollback all changes to earlier version.
eg:- if a.txt file is replaced and while making changes to b.txt file if it gives an error . So in that case whatever changes are done previously on other files should be rolledback.
Is there any way to do such things.... using COMMAND LINE