Results 1 to 9 of 9
  1. #1
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Sharing (WinXP-SP-2)

    I am trying to may a drive on my upstairs PC to "T:". Why doesn't the following work?

    >>
    NET SHARE Switch=theblackoneC:TRANSFERS
    NET USE T: tboSwitch /PERSISTENT:YES
    <<

    This one worked fine, and structure *appears* the same:-- to me.

    >>
    NET SHARE Personal="Cocuments and SettingsCWBillowMy Documents"
    NET USE P: OlfogeyPersonal /PERSISTENT:YES
    <<

    ??

    Regards,
    Chuck Billow
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,577
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Sharing (WinXP-SP-2)

    I don't think the device name is to be used in the net share command. Find the 'Net share' command at Microsoft Windows XP - Command-line reference A-Z for more information on syntax.

    Joe
    Joe

  3. #3
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Sharing (WinXP-SP-2)

    Joe:

    Thanks for the reference... it's got a lot of useful items...

    I had a "clog" between the Net Share that was set up on the upstairs machine and the name I was Net Using from downstairs.

    Thanks,
    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  4. #4
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Sharing (WinXP-SP-2)

    You need to look at the syntax for NET SHARE -- it does not allow sharing on a remote PC, only on the local PC. Do NET SHARE /? in the Command Prompt window to see this.
    NET SHARE sharename=driveath <etc>

    Furthermore, you can't point to drive C: on a remote machine anyway - it would have to be to the corresponding sharename C$. See NET USE /?.

    Your NET USE command might therefore be:
    NET USE * theblackoneTRANSFERS /p:y

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #5
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Sharing (WinXP-SP-2)

    John:

    >>
    NET USE * theblackoneTRANSFERS /p:y
    <<

    That does work... you're right. Except what is the * ? I cannot seem to find a clear answer there.

    Regards,
    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Sharing (WinXP-SP-2)

    May I suggest that you read the thread starting at <post:=546,444>post 546,444</post:>?

  7. #7
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Sharing (WinXP-SP-2)

    Hans:

    Stuart had put
    >>
    if you specify a * then Windows will assign the next available device name for you.
    <<

    Does this mean that a " * " and Windows will assign the next available letter? And in the
    >>
    [devicename | *] [computernamesharename[volume] [password | *]]
    [/USER:[domainname]username]
    [/USER:[dotted domain name]username]
    [/USER:[username@dotted domain name]
    [/SMARTCARD]
    [/SAVECRED]
    [[/DELETE] | [/PERSISTENT:{YES | NO}]]
    <<
    what of the [password | *] ?

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  8. #8
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Sharing (WinXP-SP-2)

    You can optionally put the password on the end of the command.
    You can put * instead of a password and you will be promted to enter a password.

    For example
    <code>NET USE * servernamesharename /user:CWBillow *</code>

    Means map the share called sharename on the server called servername. Use the next available drive letter. Use a username of CWBillow and prompt me for the password.

    StuartR

  9. #9
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Sharing (WinXP-SP-2)

    Stuart:

    Thanks. Maybe this time I've got it.

    Regards,
    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •