Create writable network share, windows, command line

If the share already exist i need to remove it first:
net share "C:\temp" /DELETE /Y
Create new share and let Authenticated Users to write to it:
if not exist "C:\temp" md "C:\temp"
net share temp="C:\temp" /GRANT:"Authenticated Users",CHANGE
Other options:
net share /?

No comments: