Mapping folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to create a batch file to automatically map a folder from the admin
pc. i want to include in the batch file a username and password so it
doesnot ask for it. Please could you help.

thanks
 
luke said:
I want to create a batch file to automatically map a folder from the admin
pc. i want to include in the batch file a username and password so it
doesnot ask for it. Please could you help.

thanks

net use x: \\SomeServer\SomeShare /user:Luke SomePassword

The commands

net use /? and
net help use

will give you each and every option for this type of command.
I'm sure you know that specifying a password in a batch file
is asking for trouble. Sooner or later someone will exploit this
for his own purposes, possibly causing a lot of trouble.
 
I have tried that but it doesnt do anything, it come up with 'The syntax of
this command is.......
..........
..........
.........

I will breif the problem again.

I have a network of 11 computers (one is used for administration purposes).
I have created a folder on my admin pc. I would like all other pc's to have
access to it when required not at all times (this is because i have created
automatic login). Therefore i would like to use 'net use' to command it to
do it in one go..

Hope this helps

thanks
 
Your reply is a little puzzling. I gave you highly specific
instructions whereas your reply simply says "it doesn't do
anything", followed by lots of dots. Now I'm convinced that
the command gives at least some screen output. What is it?
I am equally convinced that it does not generate lots of dots.
And what exactly is the command you typed?

Unless you take the time to tell us in detail what YOU do and
what Windws replies, we cannot help you.
 
Back
Top