Computing.Net > Forums > Programming > File replacement report

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

File replacement report

Reply to Message Icon

Name: sudip_dg77
Date: November 6, 2008 at 06:09:38 Pacific
OS: DOS
CPU/Ram: n.a.
Product: n.a.
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: November 6, 2008 at 14:57:51 Pacific
Reply:

See my reply to your question in the earlier thread in this forum.


0
Reply to Message Icon

Related Posts

See More


Tell a .bat to close itse... Double-click with command...



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: File replacement report

Batch File:Replace text in variable www.computing.net/answers/programming/batch-filereplace-text-in-variable/15275.html

batch file - replace forward slash www.computing.net/answers/programming/batch-file-replace-forward-slash/15589.html

batch file replace and run www.computing.net/answers/programming/batch-file-replace-and-run/16883.html