|
Answer» Let me start by saying, I'm VERY new to writing batch files. Here's my situation:
Each user on the domain has a personal FOLDER as well as a shared team folder where they store their data. The folder is located on a server. I have mapped the server to each user using AD. Every user is using windows 7.
I'm trying to write a script where when each user logs ONTO the domain, the script copies the personal folder as well as the shared team folder to their desktop.
This is what I've tried to use but unfortunately it doesn't WORK. Again, I'm extremely new to batch files so I may be on the wrong track. Help?
copy /-y "Z:\personalparentfoldername\personalsubfoldername" "C:\users\nameofuser\desktop" pauselook at using XCOPY, copy only targets single files. If that doesn't work out, try robocopy. I honestly can't remember what the differences are, but I know one of them will work for you.
|