Posts Tagged ‘cli’


Wayne’s World of IT Revised

Tuesday, September 23rd, 2008 by Jeffery Hicks
I've blogged in the past about Wayne Martin and his outstanding list of command line tips. These are one line commands, some complex some simple, that you can use to accomplish a wide range of task. The overall number of tips is to 425 and Wayne recently reorganized them into 7 categories to make it easier for people to digest. There's very little scripting with any of these commands. Most use native or freely available command line tools. But because they are executed from a command line you could incorporate them into a script. I encourage you to check them out.   More »

Running command-line tools

Friday, February 15th, 2008 by SAPIEN Technologies
These examples show how to run command-line tools from within a VBScript, capturing the tool's output. ' ' Essentials - by Don Jones ' ' Run cmdline tools ' This shows how to launch a command-line ' tool and retrieve its output into a string variable ' to then do something with it. For example, you might ' use the InStr() function to determine if a specific ' string exists in the command's output. ' The trick is to use the WshShell object's Exec, not Run, method Dim objShell, objExec Set objShell = CreateObject("WScript.Shell") 'run the command-line command -…   More »

Registry queries the easy way

Thursday, February 7th, 2008 by Jeffery Hicks
Another topic that I’ve seen resurface in the forums I frequent is reading remote registries. If you know exactly what you’re looking for it doesn’t get any easier than using REG.EXE from the command line. Here’s how to use it and a batch file ready for you to use.   More »