Question

Locked

vbscript

By depaulmx ·
how do u create a vbscript to copy from one drive to another drive in another computer in a network and then create a backup copy of it,and the backup copy must be copied the next day as another backup and so on..... in server 2003

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Would be easier in a batch file

by Slayer_ In reply to vbscript

Just a series of copy commands

Collapse -

q&a

by depaulmx In reply to vbscript

how i dont know batch files

Collapse -

Well you can google how to create a new batch file

by Slayer_ In reply to vbscript

And your commands in the batch file would look something like this.

<pre>
xcopy C:\ D:\ /c /h /e /r /y /k /Q
</pre>
That says to copy and overrite all files from the C drive, to the D drive.
You can do this several times

<pre>
xcopy D:\ E:\ /c /h /e /r /y /k /Q
xcopy C:\ E:\ /c /h /e /r /y /k /Q
</pre>

Back to Networks Forum
4 total posts (Page 1 of 1)  

Hardware Forums