| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Server Copu batch
|
Original Message
|
Name: BryanInBC
Date: September 25, 2008 at 14:42:14 Pacific
Subject: Server Copu batchOS: Windows Server 2003CPU/Ram: 1.99GHz/ 2Gb RAM |
Comment: I'm trying to make a batch file that will copy userfiles from our Alberta-based server to our main office's local server. What I got so far is: xcopy \\jasper\users\%username%\*.* \\matterhorn\users\%username%\ /m /y /r since I don't want to hog bandwidth, I'm trying to do it so the folder will only copy if marked with the archive bit. If someone could please help that would be great. Bryan
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Jestible
Date: September 29, 2008 at 13:04:45 Pacific
|
Reply: Doing a quick xcopy /? will help you out here. I'm going to assume you want to remove the A tag after you copy it? /m will copy the files only that have the A attribute on, then remove it after copying. OR /a switch will only copy files with the A set, but leave the attribute. So it looks like the one you have pasted above is correct. Holy Wow.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Windows Server 2003 Forum Home
Results for: Server Copu batch
get the size report of share folder Summary: Dear All, Is it possible to get the size of shared folders and it's first child folders in a server using script/batch file. OR size of folders in specific drives in servers using batch/script file Ki...
www.computing.net/answers/windows-2003/get-the-size-report-of-share-folder/6749.html
Exchange Server Book Summary: Thanks Jennifer. I did investigate that but I'm not sure which ones are written better. On servers I like Mark Manasi's style, but he doesn't do Exchange. Have you heard of or used any Exchange book y...
www.computing.net/answers/windows-2003/exchange-server-book/3103.html
FTP batch script Summary: hi, how to make a ftp batch script that will automatically login to server and automatically transfer the files to local folder.. thanks. hakunamatata ...
www.computing.net/answers/windows-2003/ftp-batch-script/5436.html