+ Post New Thread
Results 1 to 3 of 3
Windows Thread, Student work turnin folders in Technical; Hey all, So I had an interesting problem, we have drives for students, drives for teachers, but no way of ...
  1. #1
    goaliepride's Avatar
    Join Date
    Feb 2008
    Posts
    47
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Student work turnin folders

    Hey all,

    So I had an interesting problem, we have drives for students, drives for teachers, but no way of mixing the two so that students can turn in work. It's a pain to figure out how to have students drop things in a shared folder where they can see their own work but not their classmates. I finally figured it out, if anyone wants it let me know. My setup requires manual folder creation (each teacher gets a folder, and kids could drop files in the wrong teachers folder, sadly) My question is...

    is there a way to script folder creation with permissions?

  2. #2

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    20
    use the MD command to create folders and the CACLS or the XCACLS resource kit utility to set the permissions.

  3. Thanks to rvdmast from:

    goaliepride (31st October 2008)

  4. #3
    goaliepride's Avatar
    Join Date
    Feb 2008
    Posts
    47
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks! That worked wonderfully. I used xcacls.vbs with autoit to do the looping and reading in the teachers names.

    $script = "\\losaldeploy01\Shares\Scripts\xcacls.vbs"
    $folder = "\\oakfp02\OAK-Students\StudentTurnIn\"
    $file= FileOpen($folder & "\TeachersToCreate.txt", 0)
    $options = "/E /F /S /T /G LOSAL\OAK_STUDENTS:2;2 /D LOSAL\OAK_STUDENTS:6;6 /I COPY"

    $name = FileReadLine($file)
    While $name <> ""
    DirCreate( $folder&$name)
    RunWait(@COMSPEC & " /c " & $script & " " & $folder & $name & " " & $options)
    $name = FileReadLine($file)
    Wend

SHARE:
+ Post New Thread

Similar Threads

  1. Checking student's work areas for missing folders
    By SimonWindisch in forum How do you do....it?
    Replies: 0
    Last Post: 4th September 2008, 06:03 PM
  2. Resetting Permissions for Student Home Folders
    By Zoom7000 in forum Windows
    Replies: 11
    Last Post: 5th December 2007, 10:33 AM
  3. Moodle:Parental Access to student work
    By TechMonkey in forum Virtual Learning Platforms
    Replies: 7
    Last Post: 3rd November 2006, 07:54 PM
  4. Make student folders available externaly
    By daverage in forum Wireless Networks
    Replies: 11
    Last Post: 31st March 2006, 01:13 PM
  5. Work Placement Student - Share
    By mloveless in forum Educational IT Jobs
    Replies: 5
    Last Post: 16th February 2006, 11:59 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
  •