batch files copy files to users computers

September 28, 2012 at 15:05:24
Specs: Windows 7

I have a list of 150 computers on my Windows Active Directory network that I am trying to copy a files to. I wonder if someone might have a script that would, copy the files or shortcut to the computers by looking for the PC names in a text file


See More: batch files copy files to users computers

Report •


#1
September 29, 2012 at 09:48:00
The ultimate use of this file might be needed to be known. Might ask this in programming or pm one of the guys like nails.

A text file that you want people to have is different than wanting a batch file to run on each system and is different than wanting a program installed so that is why I say to tell more about the file.


Report •

#2
October 1, 2012 at 10:53:42
Something like this:

Untested:

@echo off
for /f "tokens=*" %%i in (test.txt) do (
	pushd \\%%i\c$
	xcopy c:\temp\test.txt .
	popd
)

Tony


Report •

Related Solutions


Ask Question