Sign in to follow this  
Followers 0
Insolence

Can't use cmd.exe at School--not enough rights

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I'm wondering...since cacls is a EXE-file why involve @comspec at all ?

Edited by Helge

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0