9 replies
Hi,
Maintain a list of all the machines in your network that you're interested in, in the file MyNetworkMachines.txt for example.
Then something like the following would do it.
FOR %server IN (MyNetworkMachines.txt) DO net use \\%server\c$
Would map all the c$ shares.
You could be trickier than this and expand the MyNetworkMachines.txt to contain the share names for each machine as well. Then alter the "FOR" statement to use them specifically.
Go to a command prompt and type "help for" to get the rundown on what you can do with "for". Its quite powerful.
Cheers,
Tim.
by ja_seaton
by gperrie
Not sure about 98 but with NT/2k you can set this as an option in the user policy.
http://support.microsoft.com/default.aspx?scid=kb;EN-GB;q161334
has a pretty in depth look at policies for NT.
Gavin
by ja_seaton
by ja_seaton
Hi,
Sorry. I completely misunderstood what you wanted... Hope I've got it this time ?
To create a share from the command line, you need access to the "net share" command which is a 2000 option but not a Win98 one...
http://windows.about.com/library/tips/bltip196.htm
(remove spaces from the above URL)
Cheers,
Tim.
by ja_seaton
by ja_seaton
by ja_seaton
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending