Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in /d/*; do if [ -d "$i" ]; then j=`cygpath -w "$i"`; echo "icacls \"$j\" /setowner User /t"; echo "icacls \"$j\" /reset /t"; echo "icacls \"$j\" /grant User:F /t"; fi; done > /d/temp/icacls_drive.bat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement