just1812 wrote:Just figured out that the batch file is trying to change directories on my local computer instead of the remote computer. Does anyone have experience calling a batch file from a file share?
I fear that calling this batch file from a share wouldn't help you, as your batch affects your computer no matter where it is stored.
It seems, that what you want to do is to remotely execute your batch file on another computer,
so you have to remote login and execute it remotely.
You may use the little helper tool PsExec as part of PsTools:
http://technet.microsoft.com/en-us/sysinternals/bb897553Code: Select all
psexec \\computer[,computer2,...] -u user -p psswd cmd [arguments]
psexec @file -u user -p psswd cmd [arguments]
:: (@file: text file containing the computer names)
penpen