Help - Search - Members - Calendar
Full Version: [Question] How to make a share readonly in commandline?
MSFN Forums > Microsoft Software Products - Discussion & Support > Windows XP

   


Google Internet Forums Unattended CD/DVD Guide
Doc Symbiosis
In use the net share command in a cmd-file to make a networkshare.
CODE
net share myshare=m:\

Problem is, that it has full access for all users.
Anyone knows, how to make it readonly ( I didn't find an appropriate switch) ?

Title edited -- Please, use [TAGS] in your topic's title.
Please follow XP Forum Rules from now on.
--Sonic
Yzöwl
Try using RMTSHARE.EXE from the NT4 Resource Kit with the /GRANT switch.
Phurious
I use this tool XCACLS.EXE from Microsoft when I want to adjust permissions on just about anything from a batch file. Here is some good documentation on syntax.
Doc Symbiosis
Thanks to you both.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.