Or PowerShell: Get-content servers.txt |% new-item -type directory -path \\$_\c$\dirname
Regards, Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com -----Original Message----- From: Ziots, Edward [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 2:05 PM To: NT System Admin Issues Subject: RE: Create directory remotely Can always use psexec with the md command also Psexec \\servername md c:\dir\dir etc etc Z Edward E. Ziots Network Engineer Lifespan Organization MCSE,MCSA,MCP,Security+,Network+,CCA Phone: 401-639-3505 -----Original Message----- From: David Lum [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 1:40 PM To: NT System Admin Issues Subject: Create directory remotely Guys, I have a need to create a directory on many servers using one batch file, but how I do that escapes me. How can I create a directory on remote servers w/out having to RDP into each one? I have a CSV with about 200 servers and I want to create a new directory off the root. Dave Lum - Systems Engineer [EMAIL PROTECTED] - (971)-222-1025 "When you step on the brakes your life is in your foot's hands" ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~ ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
