sheila54603
asked on
How to copy a file or files to all user profiles on a W2K terminal server
Does anyone know the syntax for a batch file (or other solution) to copy a file from one local location to all user profiles on a Windows 2000 terminal server without setting location for each specific user?
xcopy \\servername\sharename\fil ename "c:\documents and settings\%username%\folder name\"
ASKER
That works great for the logged in user but does not resolve my issue. As an administrator, I'd like to copy the file to all user profiles in one shot without waiting for them to log in.
xcopy \\servername\sharename\fil ename "c:\documents and settings\all users\foldername\"
ASKER
The file needs to be copied to each users profile and not to the "All Users" folder.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This script was great help for me also, thank you oBdA!