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


Extraordinary Member
I want to specify from command line that user "Karl" has Full access to local folder (and subfolders)


Which command is recommended here:

cacls or "net share"

What is the difference?

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



Excellent Member
Microsoft Community Contributor
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.

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.