Insolence Posted January 31, 2007 Share Posted January 31, 2007 I'm using RunWait(@ComSpec & ' cacls "C:\SC" /E /G Users:F ', '', @SW_SHOW) And I get this: The command prompt has been disabled by your administrator. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
AzKay Posted January 31, 2007 Share Posted January 31, 2007 Does it work if you use your own command prompt? Try putting a cmd.exe on a usb drive and run from it, does that work? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Helge Posted January 31, 2007 Share Posted January 31, 2007 (edited) I'm wondering...since cacls is a EXE-file why involve @comspec at all ? Edited January 31, 2007 by Helge Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now