Adding this to the previous comment from Kurt, your command would look like... for /f %f in (servers.txt) do md \\%f\c$\name <file://%25f/c$/name>
Where servers.txt is your list of servers, and name is the name of the directory you wish to create. If your directory name has a space in it, you'll need to use quotes. On Fri, Mar 21, 2008 at 1:45 PM, Michael B. Smith < [EMAIL PROTECTED]> wrote: > "md \\server\c$\name" > > Regards, > > Michael B. Smith > MCSE/Exchange MVP > http://TheEssentialExchange.com <http://theessentialexchange.com/> > > > -----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> ~
