windows7expert
asked on
Need a batch script to check if a remote folder exists from a list of machines
Hi,
I need a batch script that will check to see if a remote folder exists based on a list of machines in a text file. I will be running this script from my desktop and need to verify the existence of a folder on each of our servers.
For example, I'd like to verify that c:\windows\system32\test folder exists from a list of machines in machines.txt
Thanks!
I need a batch script that will check to see if a remote folder exists based on a list of machines in a text file. I will be running this script from my desktop and need to verify the existence of a folder on each of our servers.
For example, I'd like to verify that c:\windows\system32\test folder exists from a list of machines in machines.txt
Thanks!
ASKER
I would also like it to output to another text file detailing the results of whether or not the folder exists on that specific machine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you using admin shares?
ASKER
BP, that worked perfectly!
Great, glad that helped.
~bp
~bp
http://technet.microsoft.com/en-us/sysinternals/bb897553