troubleshooting Question

copy script from userlist

Avatar of quippee
quippee asked on
Windows Server 2003
2 Comments1 Solution182 ViewsLast Modified:
Hello experts, I would liek to copy files from the user profiles to another folder where the user has another folder.

for exampple for user lisa

copy c:\profiles\list\*.*   d:\backup\lisa\

for one user is not problem, but i have a a list of users  in  a text file and I was wondering if there is a way to use that list to inser it in the username part. something like this

copy c:\profiles\%username%\*.*  d:\backup\%username%   Where the username is picked from a list and then it moves to the next.

Im sure there is a way. Just that im not an expert :)
TG Tran
IT guy

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros