petercao Posted March 10, 2012 Posted March 10, 2012 (edited) I want to delete folder d:music as the admin I try the RunAsWait But there are something wrong RunAsWait("usenamer",@LogonDomain,"Password,0,@ComSpec & ' rd /s/q/f c:Temp,"","",0) Edited March 10, 2012 by petercao
Chimaera Posted March 10, 2012 Posted March 10, 2012 Im not sure your syntax is right RunAsWait("usenamer",@LogonDomain,"Password,0,@ComSpec & ' rd /s/q/f c:\Temp) "usenamer" needs to be an actual username or use @UserName which is the ID of the currently logged on user. "Password needs to add a missing " and it needs to be the proper password of the user concerned Im not sure about the comspec bit so trail and error is needed If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices()
petercao Posted March 12, 2012 Author Posted March 12, 2012 Im not sure your syntax is right RunAsWait("usenamer",@LogonDomain,"Password,0,@ComSpec & ' rd /s/q/f c:Temp) "usenamer" needs to be an actual username or use @UserName which is the ID of the currently logged on user. "Password needs to add a missing " and it needs to be the proper password of the user concerned Im not sure about the comspec bit so trail and error is needed Thank you for your support
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