Results 1 to 8 of 8

Thread: Network Share

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2004
    Location
    uk liverpool
    Posts
    238

    Network Share

    Hi.

    Is it possible to connect to a logical drive on a remote computer that has a shared folder.

    I have no problem connecting to a shared folder on the Primary Drive .

    \\server\temp... for example

    How does it go for the Logical Drive .

    I tryed... \\server\d:\temp and a few other ways but no luck .


    Thanks.

  2. #2
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: Network Share

    to connect to a drive rather than a folder is should be
    \\server\drive share name

    example you have a remote computer called server1 and the drive share is pridrive$ so when mapping the drive just put this

    ex.\\server1\pridrive$

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2004
    Location
    uk liverpool
    Posts
    238

    Re: Network Share

    But the drive is not sharing, Its just a folder on a logical drive.

    \\servername\d\documents and settings\local settings

    BUT IT STILL CARNT FIND THE PATH

    Hope this makes sense.

    Thanks for the help

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Network Share

    There is a default Admin share for each partition on a system. For the C drive its C$ and for the d its D$. The only issue is that you need Admin permissions to connect. If its a problem then you need to share the drive out and set the permissions appropriately.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2004
    Location
    uk liverpool
    Posts
    238

    Re: Network Share

    Ok sounds good .no problems with administration but how do i set the Permissions.

    1 XP HOME .....1 XP PRO

    Thanks.

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Network Share

    Use the command line utility:
    VB Code:
    1. Displays or modifies access control lists (ACLs) of files
    2.  
    3.  
    4.  
    5. CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
    6.  
    7.                [/P user:perm [...]] [/D user [...]]
    8.  
    9.    filename      Displays ACLs.
    10.  
    11.    /T            Changes ACLs of specified files in
    12.  
    13.                  the current directory and all subdirectories.
    14.  
    15.    /E            Edit ACL instead of replacing it.
    16.  
    17.    /C            Continue on access denied errors.
    18.  
    19.    /G user:perm  Grant specified user access rights.
    20.  
    21.                  Perm can be: R  Read
    22.  
    23.                               W  Write
    24.  
    25.                               C  Change (write)
    26.  
    27.                               F  Full control
    28.  
    29.    /R user   Revoke specified user's access rights (only valid with /E).
    30.  
    31.    /P user:perm  Replace specified user's access rights.
    32.  
    33.                  Perm can be: N  None
    34.  
    35.                               R  Read
    36.  
    37.                               W  Write
    38.  
    39.                               C  Change (write)
    40.  
    41.                               F  Full control
    42.  
    43.    /D user       Deny specified user access.
    44.  
    45. Wildcards can be used to specify more that one file in a command.
    46.  
    47. You can specify more than one user in a command.
    48.  
    49.  
    50.  
    51. Abbreviations:
    52.  
    53.    CI - Container Inherit.
    54.  
    55.         The ACE will be inherited by directories.
    56.  
    57.    OI - Object Inherit.
    58.  
    59.         The ACE will be inherited by files.
    60.  
    61.    IO - Inherit Only.
    62.  
    63.         The ACE does not apply to the current file/directory.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jul 2004
    Location
    uk liverpool
    Posts
    238

    Re: Network Share

    Way over my head dglienna.

    Thanks anyhow.

  8. #8
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: Network Share

    lol cacls isnt that hard to learn its done in command prompt so its pretty eazy to do with pratice you can get it ... if you have any questions you can email or pm me and i can attempt to explain it further

Posting Permissions

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



Click Here to Expand Forum to Full Width