VBA: How to Open command prompt as Administrator and call a VBS using cscript?
<p>I'm trying to open a command prompt as Administrator AND run a .VBS file using CScript.</p>

<p>I found post for running cmd as Administrator:</p>

<p>Shell "powershell.exe -Command " &amp; Chr(34) &amp; "Start-Process cmd -Verb RunAs", vbNormalFocus</p>

<p>Also Found a post for running a VBS file:</p>

<p>SFilename = "Cscript " &amp; Chr(34) &amp; "C:\Temp\Run.vbs " &amp; Chr(34) &amp; " " &amp; pParam1 &amp; " " &amp; pParam2</p>

<p>Shell SFilename, vbNormalFocus</p>

<p>However, Can someone help me to get both things done in single cmd window?</p>

<p>I tried merging both Shell statments and running one after the other but no luck.</p>