Yes. Here is a sample script!
- - -
Set objSh = CreateObject("Shell.Application")
objSh.ShellExecute "notepad.exe", "" , "", "runas", 1
- - -
See also:
VBScripts and UAC elevation:
http://www.winhelponline.com/article...elevation.html
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog:
http://www.winhelponline.com/blog
Windows® Troubleshooting:
http://www.winhelponline.com
"Santiago Bruni" <> wrote in message news:354D2163-7D84-484E-BE54-...
I want to use the "Run As Administrator" functionality of Windows Vista
(UAC), from a vbScript to call any application.
It is possible?
Thanks.