Create share CMD

net share testShare=C:\temp\test /GRANT:Everyone,FULL /remark:”TestShareForTesting”

Creates a share called “public” and grants everyone full access.

net share testShare /delete

Delete the share using the share name. In the above case: public.

net help share

Lists the commands available for net share

CACLS “C:\temp\test” /T /E /G everyone:C

Sets the permissions on the specified folder for everyone as modify.

Leave a Reply