Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to write a batch file in DOS which will do the following:
Step 1: Copy some files(like for example a.txt, b.txt, c.txt) from a disk location C:/
Step 2: Put the above copied files to a disk location C:/Release/
Step 3: Before putting the files from the location C:/ to C:/Release/ it should make a note of files that are going to be replaced(if say for example a.txt, b.txt, c.txt already exists in the location C:/Release/)
Step 4: Ask for confirmation saying following are the files that are going to be replaced...do you want to continue?
Step 5: Send an e-mail to my mailbox with a report saying which all files were replaced.
Hope this clarifies...now can someone help

![]() |
Tell a .bat to close itse...
|
Double-click with command...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |