HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-03-2008, 05:25 PM
MM User
 
Posts: n/a
Default use of net use

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

Reply With Quote
Sponsored Links
  #2  
Old 06-03-2008, 05:44 PM
Steve Winograd
 
Posts: n/a
Default Re: use of net use

On Tue, 3 Jun 2008 17:25:04 +0100, "MM User" <mmuser@microsoft.com>
wrote:

>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
Reply With Quote
  #3  
Old 06-03-2008, 10:07 PM
MM User
 
Posts: n/a
Default Re: use of net use

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



"Steve Winograd" <bc070521m@comcast.net> wrote in message
news:bksa44pe0tj995kl7pbdbpekfgbme2ubda@4ax.com...
> On Tue, 3 Jun 2008 17:25:04 +0100, "MM User" <mmuser@microsoft.com>
> wrote:
>
>>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


Reply With Quote
  #4  
Old 06-03-2008, 11:07 PM
Steve Winograd
 
Posts: n/a
Default Re: use of net use

On Tue, 3 Jun 2008 22:07:02 +0100, "MM User" <mmuser@microsoft.com>
wrote:
>>>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

>
>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
Reply With Quote
  #5  
Old 06-04-2008, 12:31 AM
MM User
 
Posts: n/a
Default Re: use of net use

Thanks Steve!

"Steve Winograd" <bc070521m@comcast.net> wrote in message
news:l0gb44pqrmkq5gp37tsqq4as5g736th9re@4ax.com...
> On Tue, 3 Jun 2008 22:07:02 +0100, "MM User" <mmuser@microsoft.com>
> wrote:
>>>>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

>>
>>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


Reply With Quote
Sponsored Links

Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger