Syntax for Command Line Shring --Help

LedaOhio9

Honorable
Jul 30, 2017
75
2
10,645
Can anyone tell me what the correct command line would be to add TWO USERS?

This line works fine for master...
NET SHARE D-Drv$=D:\ /GRANT:master,FULL

I need to add authenticated users to tyhat line as well as READ ONLY.

Something like this maybe???
NET SHARE D-Drv$=D:\ /GRANT:master,FULL /GRANT:"autheticated users",READ

 

LedaOhio9

Honorable
Jul 30, 2017
75
2
10,645
Forgot I asked before and it was answered
paste--
NET SHARE F-Drv$=F:\ /GRANT:master,FULL,"authenticated users",READ

Remove the comma after full and add /grant: again.

net share F-Drv=F:\ /Grant:master,full /grant:"authenticated users",read

I believe it's also not good etiquette to use $ at the end of your shares. Typically $ signifies a system share, but it's up to you.