May 27, 200719 yr I have some code that runs in VBSCript.Runas.vbsSet objShell = CreateObject("Shell.Application")strApplication="CMD.EXE"strArguments=""objShell.ShellExecute strApplication, strArguments, "", "runas"Does anyone know if I can pre-populate the box that appears "The following user" with a specific username?
May 27, 200719 yr oops, sorry.i read your post too quickly. i thought you were just running "cmd.exe /c runas" Edited May 29, 200719 yr by #rootworm
May 27, 200719 yr Author I was looking to get away from using the DOS version of RunAs, thanx for the reply though.
Create an account or sign in to comment