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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy files from command prompt

Status
Not open for further replies.

room24

Programmer
Dec 28, 2003
83
JM
i want create a script from my server that can copy a file file to all the machines on my net work how would i do that
 
If you say from my server to all my machines. Do you mean from server to workstation? are you having a domain?

If yes you can do this really simple with a login script. Batch file or vbs

batch file perhaps most easy

copy \\server\share\file c:\localhostlocation
 
Just remember use either short filenames and directories If it is longer then 8 chars then it is the first 6 chars then ~1

So if it is c:\documents and settings\ the short version is:

c:\docume~1\

Or use quotes:
c:\"documents and settings"\user1\desktop

etc, etc

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top