N
N
NameUser2021-11-21 21:36:34
cmd/bat
NameUser, 2021-11-21 21:36:34

Is it possible to create a bat file that will rollback changes?

Hello! My task is to make a couple of scripts with which you need to prepare files for deletion or roll back changes. With the deletion, everything seems to be clear, del name file, and if the file was deleted, how can I restore it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kuznetsov, 2021-11-22
@NameUser

Yes. The second script will copy the files from the backup folder you should have previously created.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question