Folder sharing: Difference between "cacls" and "net share" ?

Discussion in 'Windows 7 Help and Support' started by pstein, Jan 7, 2012.

  1. pstein

    pstein Honorable Member

    Joined:
    Mar 20, 2010
    Messages:
    375
    Likes Received:
    0
    I want to specify from command line that user "Karl" has Full access to local folder (and subfolders)

    D:\proj\logs

    Which command is recommended here:

    cacls or "net share"

    What is the difference?

    Is "net share" for folders the same as "cacls" for files?

    Peter
     
  2. Saltgrass

    Saltgrass Excellent Member
    Microsoft Community Contributor

    Joined:
    Oct 16, 2009
    Messages:
    15,157
    Likes Received:
    393
    This is not my area of expertise, but one command (cacls) deals with permissions or user rights to a file, where the other is for sharing a file.

    I suppose I would equate one to using a files security tab to change an owner or change permissions and the other to using the "Share With" on the context menu of a file.

    If you open a command prompt and type the commands followed by /? you can see what type of options they have.
     

Share This Page

Loading...