Tag: jscript
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 …
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: …
The GUID represents an unique identifier, and you can get the API to generate one for you. In WSH (Windows Scripting Host) environment, it turns out to be very …
The following provides a method to get the hard drive serial number using PowerShell, VBScript and Javascript, respectively. PowerShell You can get this serial number for the first hard …
The shortcut on the windows platform is a link to the existing programs. For example, you can right click the desktop and follow the wizard to create a shortcut …