Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Batch file for share permissions

 
   Win 2000/NT/98/ME (Home) -> File System RSS
Next:  Backing Up on Win98  
Author Message
Shane

External


Since: Sep 05, 2006
Posts: 4



(Msg. 1) Posted: Tue Sep 05, 2006 5:55 am
Post subject: Batch file for share permissions
Archived from groups: microsoft>public>win2000>file_system (more info?)

Hi

I am looking for a way to change share permissions on folders via a batch
file . I have found xcacls works fine for security but not shares (as far as
I can tell). Any ideas?

 >> Stay informed about: Batch file for share permissions 
Back to top
Login to vote
"Pegasus

External


Since: Oct 14, 2005
Posts: 365



(Msg. 2) Posted: Tue Sep 05, 2006 6:55 am
Post subject: Re: Batch file for share permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Shane" <hccs RemoveThis @tpg.com.au> wrote in message
news:44fd3ecf$1@dnews.tpgi.com.au...
> Hi
>
> I am looking for a way to change share permissions on folders via a
batch
> file . I have found xcacls works fine for security but not shares (as far
as
> I can tell). Any ideas?
>
>

Under Windows 2003 server you can use "net share".
Under previous Windows OSs you can youse setacl.exe
(www.SourceForge.net) - if you can wrap your mind
around the terribe user interface. Good luck!

 >> Stay informed about: Batch file for share permissions 
Back to top
Login to vote
"Pegasus

External


Since: Oct 14, 2005
Posts: 365



(Msg. 3) Posted: Tue Sep 05, 2006 6:55 am
Post subject: Re: Batch file for share permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Shane" <hccs RemoveThis @tpg.com.au> wrote in message
news:44fd3ecf$1@dnews.tpgi.com.au...
> Hi
>
> I am looking for a way to change share permissions on folders via a
batch
> file . I have found xcacls works fine for security but not shares (as far
as
> I can tell). Any ideas?
>

A much better alternative is to set the share
permissions to "Full Control" for everyone and
apply appropriate NTFS restrictions. They are
vastly superior anyway!
 >> Stay informed about: Batch file for share permissions 
Back to top
Login to vote
Shane

External


Since: Sep 05, 2006
Posts: 4



(Msg. 4) Posted: Tue Sep 05, 2006 6:55 am
Post subject: Re: Batch file for share permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Cheers
"Pegasus (MVP)" <I.can.TakeThisOut@fly.com> wrote in message
news:OyYTZ2M0GHA.4264@TK2MSFTNGP05.phx.gbl...
>
> "Shane" <hccs.TakeThisOut@tpg.com.au> wrote in message
> news:44fd3ecf$1@dnews.tpgi.com.au...
>> Hi
>>
>> I am looking for a way to change share permissions on folders via a
> batch
>> file . I have found xcacls works fine for security but not shares (as far
> as
>> I can tell). Any ideas?
>>
>>
>
> Under Windows 2003 server you can use "net share".
> Under previous Windows OSs you can youse setacl.exe
> (www.SourceForge.net) - if you can wrap your mind
> around the terribe user interface. Good luck!
>
>
 >> Stay informed about: Batch file for share permissions 
Back to top
Login to vote
Shane

External


Since: Sep 05, 2006
Posts: 4



(Msg. 5) Posted: Tue Sep 05, 2006 6:55 am
Post subject: Re: Batch file for share permissions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thx but I am governed by a higher power who "knows better"
"Pegasus (MVP)" <I.can RemoveThis @fly.com> wrote in message
news:%23B1ll7M0GHA.1040@TK2MSFTNGP06.phx.gbl...
>
> "Shane" <hccs RemoveThis @tpg.com.au> wrote in message
> news:44fd3ecf$1@dnews.tpgi.com.au...
>> Hi
>>
>> I am looking for a way to change share permissions on folders via a
> batch
>> file . I have found xcacls works fine for security but not shares (as far
> as
>> I can tell). Any ideas?
>>
>
> A much better alternative is to set the share
> permissions to "Full Control" for everyone and
> apply appropriate NTFS restrictions. They are
> vastly superior anyway!
>
>
 >> Stay informed about: Batch file for share permissions 
Back to top
Login to vote
Display posts from previous:   
   Win 2000/NT/98/ME (Home) -> File System All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
 Windows Vista!
  Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]