Michael Murgolo: A comment was posted to my December 22 post stating that the Elevate command in the Elevation PowerToys does not work correctly in the Windows 7 Beta. (Thanks Pete!) The application is launched elevated but the arguments are not passed to the application. It turns out that this is caused by a known bug in the Windows 7 Beta. The ShellExecute method of the Shell Scripting Objects does not pass the argument parameter when it is stored in a variable.
Luckily I found that using the VBScript Execute statement allows me to pass the ShellExecute parameters as literal strings. I've attached an updated version of Elevate.vbs that has this workaround. Please give this a try if you are using the Elevation PowerToys with Windows 7. Simply replace the version in the Elevation PowerToys download with this one and reinstall the Elevate Command PowerToy using ElevateCommand.inf.
|