Question Locked

Copying Files

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi

I am looking to copy a single word document to the c: drive of all the pc's on our network. We use kix scripts to map drives and printers to the machines and was hoping to use this as a way of copying this file to the workstations. When i do it nothing happens i am not getting an error message and the file has not been replaced. Can somebody advise on what may be wrong or an alternative way of resolving this issue.

3 replies

by wizard-09

You want to do this with a BAT file, now what is it you want to do? Copy it to all the users on that machine or do you only want to copy the file in question to the C drive of the computer? You might want to use the xcopy command see below website.

http://www.easydos.com/xcopy.html

Please provide details so that I may write a bat file that will do this for you.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by rob miners

You can update all of the Workstations at once using this technique.

Create and run this from the file server. You will need 2 files. The first one is the .bat the second is a text file with a list of workstations that you need to add to in the same format.
C:\test is a folder on the File Server, place the file that you want copied in there. If the file exists on the Workstation it will be overwritten.

File 1 = copyto.bat

FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$\Program Files\TypeQuik"

Put your files that you want copied into a folder EG: c:\test

File 2 = WS.txt

\\ws01.minero.local
\\ws02.minero.local

This discussion is closed to new replies.