By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,646 Members | 2,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,646 IT Pros & Developers. It's quick & easy.

Shell as Administrator?

P: 8
Hey all

I understand how the Shell feature works, a line like:

would start the registry editor. But, would it be possible to run it as administrator, rather than the local user? (I have the administrator password.)

Dec 9 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,127
By default SHELL executes as administrator.

You can also use shell to open any file as follows

[code=vb]Shell "notepad C:\test.txt", vbNormalFocus[/vb]
Dec 24 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.