Runas and two boxes
Posted: 16 Dec 2010 10:36
I, could you please help me out .. i can't get any further.
I'm working on a batch file which will start a vbs script.
This vbs scripts needs te be run in administrator mode (runas).
My code looks like this now:
start /w runas.exe /U:vpnl\administrator "cmd /k net use h: \\vpnl001\shared_home /USER:vpnl\jumping"
so far so good (i think).
But this line opens a new dos box in which i cannot start the script ...
who can help me out ..
I'm working on a batch file which will start a vbs script.
This vbs scripts needs te be run in administrator mode (runas).
My code looks like this now:
start /w runas.exe /U:vpnl\administrator "cmd /k net use h: \\vpnl001\shared_home /USER:vpnl\jumping"
so far so good (i think).
But this line opens a new dos box in which i cannot start the script ...
who can help me out ..