file copy..

N

Nimmy

Any one have a script to run on my Windows Xp machine for the following file
operations:

a) I have a file called xyz.ppt
b) If the time and date stamp changed, I mean basically if the file has been
modified, I want the SCRIPT to copy/overwrite that file in few other
different directory folders.

Why do I want to do this?
- I may have to do for different other files, iterative
- I have to copy them on my network drive as well from my C: drive
- To avoid manual copying all the times.

Thanks
 
W

William Herrera

Any one have a script to run on my Windows Xp machine for the following file
operations:

a) I have a file called xyz.ppt
b) If the time and date stamp changed, I mean basically if the file has been
modified, I want the SCRIPT to copy/overwrite that file in few other
different directory folders.

Though you can still write most of the scripting logic in Perl, I would use
Windows xcopy /D for this, since it adheres closely to what the Win32 system
thinks is a modified file and does not make Unix file system assumptions. Look
up the docs for xcopy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top