Computing.Net > Forums > Windows 2000 > robocopy.exe /XF

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

robocopy.exe /XF

Reply to Message Icon

Name: Jayson
Date: June 4, 2003 at 00:02:27 Pacific
OS: Win 2000
CPU/Ram: P3 or higher
Comment:

I'm on a Win 2000 network with exchange on Windows 2000 server. There are about 50 users. I need to write a logon script to copy the users "my documents" to a shared mapped drive on the server. I have accomplished this with xcopy but I couldn't get the /exclude switch to work. I'm going to try this with robocopy instead. I need to exclude all .pst .mp3 and .mpg from being saved to the shared mapped drive. I have installed the robocopy.exe on the exchange server where I'm writing the script. Can anyone help? Here is a copy of what I've done so far and it doesn't work.
robocopy C:"\Documents and Settings"\%username%"\Desktop" J:\\Backup\Desktop /s /e /mir /XF *.pst *.mp3 *.mpg *.mpeg



Sponsored Link
Ads by Google

Response Number 1
Name: Sjafiu
Date: June 4, 2003 at 00:34:47 Pacific
Reply:

Are the desktops windows 2000 or XP ?

If they are, you can use Group Policy to redirect local My Documents to users Home Folders or where ever you want on a server.

It's alot cleaner and faster. Scripting for 2000 is an extreme Administrative Tool to reduce time and enhance deployment.

Check out Redirecting the My Documents Folder for All Users in Windows 2000. Microsoft Knowledge Base Article - 216463

http://support.microsoft.com/?kbid=216463

Good Luck


0

Response Number 2
Name: Jayson
Date: June 4, 2003 at 23:38:23 Pacific
Reply:

They are Win 2000 machines on the network. Well, I don't want to redirect the "my documents" folder. I simply would like to back the folder up to a shared drive on the server every time the user logs on. If I can get the robocopy to work, my boss will probably want different files and folders backed up as well, like the cookis and other stuff.

Thanks for the help,


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: robocopy.exe /XF

Can't get Robocopy doesn't work www.computing.net/answers/windows-2000/cant-get-robocopy-doesnt-work/48242.html

Robocopy www.computing.net/answers/windows-2000/robocopy/17939.html

robocopy 1.95 www.computing.net/answers/windows-2000/robocopy-195/65102.html