+ 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
    Sussex
    Posts
    7,817
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350

    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. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,258
    Thank Post
    671
    Thanked 1,644 Times in 1,466 Posts
    Rep Power
    424
    feed dir /q /b into a for loop?

    Ben

  3. #3

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,817
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    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, 08: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
  •