With WMI Object on windows, it is easy to retrieve hardware information via SQL-like query, for example, the following query retrieves the keyboard information. Select * from Win32_Keyboard The …
The WMI Service object on windows is very powerful, it allows us to list memory devices easily by retrieving information via query, which looks like SQL. The query to …
The following VBScript lists all installed hot fixes on windows one by one. The VBScript should be working on Windows Scripting Host, meaning that you need to use cscript.exe …
Sometimes, you write scripts that are invoked on command line, which can be included in crontab jobs. But you don’t want these visible in web browsers. You could move …
Given a 32-bit DWORD, and two threads A and B, do they require Mutex (exclusive resources) to read/write the High/Low DWORD respectively? e.g. Thread A reads two low bytes …
In this post, we have introduces the simplest way of doing unit tests in VBScript, here is the equivalent version in Javascript. With Javascript, it allows more flexible and …