Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A script to copy one file to multiple users

Status
Not open for further replies.

itsfisko

Technical User
Jan 19, 2002
226
GB
Hi I need a script or batch file to enable me to copy a file to several users at once.
Ideally there would be a notepad file containing the destination folders. In my case the childrens work folders ie
\\server2k1\00001\art
\\server2k1\00002\art etc etc
The batch file or script or whatever would then have an Input box where I would put the scorce file ie
\\server2k1\admin\mydocs\art\homework
or better still just the art\homework part this would on execution copy the file to all the destinations in the notepad file. If anyone can help it would save a stressed out school tech a lot of work, Cheers::)

Some lead, some follow....I just Hope!
 
This is a VBA forum. Are you asking for some code to do this from within an Office application?

The reason I ask, is that, well, a batch file, with some input arguments, is exactly what you need. Or a Windows scripting file.

It could be done with VBA, but I am trying to understand why you would do it that way.

Are you thinking this would be part of an automated save routine?

Gerry
 
Sorry Fumei
I appear to have posted in the wrong forum, I Do indeed need a batch or script file to do this, Can you help, thanks. :)

Some lead, some follow....I just Hope!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top