UNC syntax to include name/password?
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
UNC syntax to include name/password?

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System
Author Message
Jim~C
Guest





Posted: Fri Nov 05, 2004 8:22 pm    Post subject: UNC syntax to include name/password? Reply with quote

Hi,

Does someone know the proper UNC syntax for specifying username/password
credentials as part of the path specification?

I'd like to understand the syntax for win2000 or later and both local as
well as network accounts.

Thanks in advance!
Jim
Back to top
Lanwench [MVP - Exchange]
Guest





Posted: Sat Nov 06, 2004 3:54 am    Post subject: Re: UNC syntax to include name/password? Reply with quote

Jim~C wrote:
Quote:
Hi,

Does someone know the proper UNC syntax for specifying
username/password credentials as part of the path specification?

Not sure what you mean.

net use x: \\server\share /user:whatever\username password

Note that this is clear text and doesn't belong in a batch file if you care
about security. What exactly is it you're trying to do?


Quote:

I'd like to understand the syntax for win2000 or later and both local
as well as network accounts.

Thanks in advance!
Jim
Back to top
Jim~C
Guest





Posted: Mon Nov 08, 2004 8:55 pm    Post subject: Re: UNC syntax to include name/password? Reply with quote

Nope - from DOS command line as in:

dir \\server\share\

Thanks,
Jim

"Lanwench [MVP - Exchange]"
<lanwench@heybuddy.donotsendme.unsolicitedmail.atyahoo.com> wrote in message
news:uUGiXv4wEHA.3624@TK2MSFTNGP09.phx.gbl...
Quote:
Jim~C wrote:
Hi,

Does someone know the proper UNC syntax for specifying
username/password credentials as part of the path specification?

Not sure what you mean.

net use x: \\server\share /user:whatever\username password

Note that this is clear text and doesn't belong in a batch file if you
care
about security. What exactly is it you're trying to do?



I'd like to understand the syntax for win2000 or later and both local
as well as network accounts.

Thanks in advance!
Jim

Back to top
Lanwench [MVP - Exchange]
Guest





Posted: Sat Nov 13, 2004 9:05 pm    Post subject: Re: UNC syntax to include name/password? Reply with quote

Jim~C wrote:
Quote:
Nope - from DOS command line as in:

dir \\server\share\

So you want to pass credentials along in a dir command? To what end? I don't
know that this is possible, but can't see what it would accomplish if it
were....

Quote:

Thanks,
Jim

"Lanwench [MVP - Exchange]"
lanwench@heybuddy.donotsendme.unsolicitedmail.atyahoo.com> wrote in
message news:uUGiXv4wEHA.3624@TK2MSFTNGP09.phx.gbl...
Jim~C wrote:
Hi,

Does someone know the proper UNC syntax for specifying
username/password credentials as part of the path specification?

Not sure what you mean.

net use x: \\server\share /user:whatever\username password

Note that this is clear text and doesn't belong in a batch file if
you care
about security. What exactly is it you're trying to do?



I'd like to understand the syntax for win2000 or later and both
local as well as network accounts.

Thanks in advance!
Jim
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB