Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Prompt  a  User  for  Information  and    Then    That  Information  to  a  Command-Line  Tool  

 Content of Prompt a User for Information and Then That Information to a Command-Line Tool.vbs
MD5 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 ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a