Scripts Thread, script to copy folder contents in Coding and Web Development; Hi guys
i am after a script or a bat file that will copy the contents of a folder on ...
6th April 2010, 07:34 PM #1
script to copy folder contents
i am after a script or a bat file that will copy the contents of a folder on a local server to a network share but it creates a folder with the date and copys the contents to that folder on the share
6th April 2010, 08:13 PM #2
Thanks to box_l from:
ful56_uk (6th April 2010)
6th April 2010, 08:18 PM #3
6th April 2010, 08:21 PM #4
oh do you know what i would need to add to delete the contents of the source folder after it has copied?
for /F "tokens=2-4 delims=/- " %%A in ('date/T') do
xcopy "C:\test\*" "%target%\" /E /-Y
7th April 2010, 10:08 AM #5
if you have subfolders, then add
it would be better to use robocopy though
with check out SS64.com Command line reference for detailed commands for most OS and languages.
Last Post: 29th January 2013, 10:16 AM
By cookie_monster in forum Windows
Last Post: 7th October 2009, 10:52 AM
By jamin100 in forum Scripts
Last Post: 4th September 2008, 07:38 PM
By tosca925 in forum How do you do....it?
Last Post: 2nd October 2006, 08:15 PM
By tosca925 in forum Windows
Last Post: 1st October 2005, 02:55 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)