Link to home
Start Free TrialLog in
Avatar of windows7expert
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!
Avatar of 5g6tdcv4
5g6tdcv4
Flag of United States of America image

Avatar of windows7expert
windows7expert

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
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are you using admin shares?
BP, that worked perfectly!
Great, glad that helped.

~bp