Solved Batch script for copying folder

April 17, 2013 at 07:00:46
Specs: Windows 7
I need to write batch script for copying one folder from sheared drive and put it on my local drive on daily basic.
Is anybody have idea how to do??


See More: Batch script for copying folder

Report •

April 17, 2013 at 07:42:04
✔ Best Answer
The script I'm giving you worked perfect on my macine and appears to do exactly what you want. You will need to change the location strings to match where you want to get the file from and where you want it placed.

@echo off
echo Your Files are being copied...
xcopy "\\servername\folder1\folder2" "C:\Users\username\Desktop\New Folder" /e /c /q /y
msg * Files have been copied!

If you need any more help, please let me know.

Report •

April 18, 2013 at 02:21:12
Its working dear Thanks..

Report •

April 18, 2013 at 07:10:17
No problem, glad I could help! Don't forget to mark the best answer so people with similar questions know this thread is solved!

Report •
Related Solutions

Ask Question