In the June 2007 issue of Microsoft's TechNet magazine Michael Murgolo has a great article about how to elevate commands in scripting using a free PowerToy called elevate.
Elevate allows you to elevate the permissions of a script or exe automatically instead of having to right click on a file and selecting Run as Administrator. Instead, you can just run "elevate my_script_that_needs_admin_rights.cmd" at command prompt or in a vb script.
Read more about using the Elevate PowerToy here. Click here to download the PowerToy directly.