Bill Ross
asked on
Automatically Copy a file to a user's folder when logging in.
Windows 7, Terminal Server. I need to copy a file to a users MyDocuments or other profile folder during the log in process. This needs to occur after the server drive is mapped. Any idea of the DOS syntax for any user?
ASKER
xcopy "source", "destination"
This is the line I'm having trouble with. The "destination" needs to be generic for the users "MyDocuments\xxx" folder"
This is the line I'm having trouble with. The "destination" needs to be generic for the users "MyDocuments\xxx" folder"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. I'll give it a try and get back with you.
Bill
Bill
http://support.microsoft.com/kb/195461
You could use that to fire off a Batch file that does your copy:
@echo off
xcopy "source", "destination"