Category: windows scripting host
In the Windows environment, all three types of scripts (PowerShell, VBScript, and JScript) use CreateObject to invoke the COM object WScript.Shell in order to simulate keystrokes. For example, you …
If a port has been pocessed by a process/application/program, you cannot listen to it. Usually, an exception of “Address in Use – cannot bind” will be thrown. That is, …
xargs is a Linux utility that allows you to build command from the standard input. xargs –help Usage: xargs … COMMAND … Run COMMAND with arguments INITIAL-ARGS and more …
I was given a few Excel CSV files that contain quite a lot of values, like this: The task is to copy all the valid numbers and store them …
The quickest way to determine the version of Microsoft Word installed on the current PC is to run the following VBScript. Dim objWord Set objWord = CreateObject("Word.Application") WScript.Echo "Version: …