Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Prompt a User for Information and Then That Information to a Command-Line ToolContent of Prompt a User for Information and Then That Information to a Command-Line Tool.vbsMD5 Hash: B0406646101E77C60AE342513509DEB1 |
||
Set objShell = CreateObject("Wscript.Shell")
strName = InputBox("Please enter the user name:") If strName = "" Then Wscript.Quit End If strCommand = "%comspec% /k dsquery user -name " & Chr(34) & strName & chr(34) strCommand = strCommand & " | dsget user -tel" objShell.Run strCommand | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |