Avatar of cjones3rd
cjones3rd

asked on 

Copying direcoties into user directories

I need a script that will copy a directory and it's sub-directory into the home directory of hundreds of users.  For example, the script needs to copy the directories WORK\FAV into the g:\AJones, g:\BPeters, and g:\CSmith directories, and finish up with g:\ZWilliams at the end.  Preferably, I won't have to type every username into the script.

I realize this would be an easy task if each user ran an XCOPY during the login script but that's not an option at the moment.  Is there another way to do this?
Microsoft DOSMicrosoft Legacy OSIT Administration

Avatar of undefined
Last Comment
cjones3rd
Avatar of Bill Prew
Bill Prew

So, can you do this on the g: server, or a system that has access to it?  And if so, is it okay to copy the folders into every top level folder on g:?

Where is work\fav located?

~bp
Avatar of cjones3rd
cjones3rd

ASKER

Yes.  I can run the script (DOS batch file) on the server and it is ok to copy work\fav into every top level folder under g:.  They are all user home directories.  

The work\fav directories are located in:  \\svr1\users\Admin\CourtForms
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of cjones3rd
cjones3rd

ASKER

Thank you!  I will test and let you know
Microsoft Legacy OS
Microsoft Legacy OS

The Microsoft Legacy Operating System topic includes legacy versions of Microsoft operating systems prior to Windows 2000: All versions of MS-DOS and other versions developed for specific manufacturers and Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions, and Windows Mobile.

55K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo