+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, Calcs in Coding and Web Development; Does anybody have a script that will set the permissions to the name of the folder ie set folder 07jbloggs ...
  1. #1

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226

    Calcs

    Does anybody have a script that will set the permissions to the name of the folder

    ie set folder 07jbloggs with permission to 07jbloggs etc?

    just clearing up the bosses mess

  2. IDG Tech News

  3. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    9,564
    Thank Post
    306
    Thanked 884 Times in 794 Posts
    Rep Power
    211
    feed dir /q /b into a for loop?

    Ben

  4. #3

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226
    I got one (which i couldn't find!)

    for /d %%1 in (*) do echo y|cacls %%1 /t /g %%1:F administrators:f "domain admins":f "teaching Staff":r
    This then give user full control, Domain admins full control and teaching staff read only

SHARE:
+ Post New Thread

Similar Threads

  1. Open Office Calc - Drop Down Selections
    By My220x in forum Educational Software
    Replies: 3
    Last Post: 8th March 2008, 09:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •