Templates Tagged "shell"

template icon

shell script ping all IP

February 17, 2012Simple shell script which will ping all devices which are in text file. Please enter your filename %[file]%
template icon

Run a program as a specific user...

February 16, 2012Launch files as a specific user. Sample: set WshShell = WScript.CreateObject("WScript.Shell") WshShell.run "runas /user:Administrator ""C:\Program Files\Internet Explorer\iexplore.exe""" 'Open command prompt WScript.Sleep(1000) WshShell.SendKeys("AdminPassword") 'send password WshShell.SendKeys("{ENTER}") 'send enter keystroke WScript.Sleep(1000) set wshshell = Nothing Launches IE as a Administrator.