Me confused..

Are you creating a share or are you connecting to one?

quote:

C:\>net share /?
The syntax of this command is:

NET SHARE
sharename
sharename=drive:path [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Documents| Programs | None ]
sharename [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Documents | Programs | None]
{sharename | devicename | drive:path} /DELETE

If we want to connect to an established share -

code:
use f: "\\servername\share"

But, if we want to get to a user share -
code:
use f: "\\servername\"+@USERID+"$$"

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's