use of net use

  • Thread starter Thread starter MM User
  • Start date Start date
M

MM User

Hi,

I keep getting an error for:

net use d:\\hpserver\folder 1 for data /user:datausers

also how do I prompt for a password using the astrix - not usre where to
place this, I've looked in the help?

Thanks
 
Hi,

I keep getting an error for:

net use d:\\hpserver\folder 1 for data /user:datausers

also how do I prompt for a password using the astrix - not usre where to
place this, I've looked in the help?

Thanks

There must be a space after "d:".

If the shared folder's name includes spaces, enclose the computer and
share names in double quotes.

To prompt for a password, put an asterisk before the user name.

With those changes, the command would be:

net use d: "\\hpserver\folder 1 for data" * /user:datausers
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Thanks Steve that's what I was after,

when I prompt for a password is it possible to have a box pop-up at the
moment the 'command box' waits for user to type the password 'command box' -
the user does not know if he typing as nothing is shown?


Regards
 
Thanks Steve that's what I was after,

when I prompt for a password is it possible to have a box pop-up at the
moment the 'command box' waits for user to type the password 'command box' -
the user does not know if he typing as nothing is shown?

Regards

You're welcome. The "net use" command doesn't have a way to create a
pop-up box. There might be a Windows command or a shareware program
that can do it. I suggest that you post a message asking about it in
a Windows XP general or scripting news group.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Thanks Steve!

Steve Winograd said:
You're welcome. The "net use" command doesn't have a way to create a
pop-up box. There might be a Windows command or a shareware program
that can do it. I suggest that you post a message asking about it in
a Windows XP general or scripting news group.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Back
Top