Rob van der Woude's Scripting Pages

News Page

On this page I'll report on changes to my web site or related news items.

Don't expect a full-blown weblog, more like a list of highlights in shorthand.


For a file based list of changes look at the What's New list.

Use ChangeDetection's button, located at the bottom of each page, to receive an e-mail when that particular page changes, with the changes highlighted.
Note, however, that this could mean subscribing to 439 individual webpages (besides hundreds of source text files), and still you wouldn't get notified of new pages. By subscribing to this news page only, you'll be notified of all "important" updates and changes and new pages.

Note: Do not try to subscribe to the What's New list; even without any changed page at all, this list will automatically change almost every day!


SystemInformation.exe has been updated:
• The improved PowerStatus output of SystemInformation.exe made me add a chapter Laptop or Desktop Without WMI to the Hardware Requirements page in the Silent Installations section.
SystemInformation.exe is a new utility, written in C#.
It is a "wrapper" for .NET's SystemInformation class, and was inspired by my GetSystemMetrics.exe wrapper utility.
SystemInformation.exe has been updated already: it now accepts multiple properties on the command line, the /I switch has been added to Ignore and skip invalid properties specified on the command line, and the /L (List all) switch was added for better "compatibility" with GetSystemMetrics.exe's command line.
GetSystemMetrics.exe has been updated too: the new version also accepts multiple metrics on the command line, and like SystemInformation.exe it will default to list all metrics if nothing was specified.
• I added a chapter Laptop or Desktop? to the Hardware Requirements page in the Silent Installations section.
• Tim Williams reported an error in Tomorrow.vbs: I forgot the leading zero for the day in yesterday's date.

Thanks Tim
• I added a new Hardware section to the Miscellaneous submenu.
It will feature real hardware as well as specific hardware related software and scripts.
• Usually, if I have to delete an entire directory tree, I use Windows' RD command:

RD /S /Q d:\keep_parent\delete_this_dir

Today, however, I ran into a "path too long" error, and neither RD nor Explorer were able to delete the directory tree.
An ingenious workaround came from wbkang on

MD "d:\keep_parent\Empty"
ROBOCOPY.EXE "d:\keep_parent\Empty" "d:\keep_parent\delete_this_dir" /MIR
RD "d:\keep_parent\Empty"
RD "d:\keep_parent\delete_this_dir"

Thanks wbkang
• A minor update for DateAdd.bat:
DateAdd.bat has been updated:
EnergyLoggerConfigGUI.exe has been updated:

EnergyLoggerConfigGUI 1.01 screenshot

Press F1 for help:

EnergyLoggerConfigGUI 1.01 help text

• EnergyLoggerConfigGUI.exe is a GUI version of EnergyLoggerConfig.exe.
Its executable is included in the file.

EnergyLoggerConfigGUI 1.00 screenshot

Press F1 for help:

EnergyLoggerConfigGUI 1.00 help text

• While working with my VoltCraft Energy Logger 3500, a device to measure and log electric power consumption, I was annoyed by the device's almost impossible manual setup.
I knew it could also work with a setup file on the SD card, and after some internet searching I found this page with info on the setup file format.
I also found some links to software to create a setup file, and more software to read the device's data, but none of these worked.
So for a start I wrote my own setup file creator in C# (batch and VBScript are definitely "sub-optimal" choices for handling binary output): EnergyLoggerConfig.exe.
CountCharPairs.exe is a tool I initially wrote to debug PHP "Unexpected End Of File" errors caused by missing curly braces.
This first public release will check any source file for parentheses, brackets or curly braces, and return a warning if the number of opening characters does not match the number of closing characters.
See the program's help screen for details.
• A minor update for CompareVersions.bat: an error in its command line error handling has been fixed.
CompareVersions.bat is an NT batch file version of its VBScript namesake, i.e. it compares 2 version strings and tells you which one is higher.
Run it without command line arguments for details on its usage.
• A new VBScript function CompareVersions has been added.
It compares two version string digit by digit (instead of a string comparison which would tell you that "9.0" is greater than "10.1").
Read the comments in the code to understand its usage.
• I added a new page on File Versions to the VBScript Scripting Techniques section.
• As of now, I will use the ISO date format (YYYY-MM-dd) in my news pages.
• Michael Klement pointed out a really thorough discussion of batch file comments on
Besides the usual REM and double colons, alternative styles are discussed as well, each with their pros and cons.
For all batch scripters: read this discussion!
Michael also pointed out some dead links and an missing info about script signing in my PowerShell: Getting Started page.

Thanks Michael
• I added a "Light Edition" of the VBScript wildcards example.
The "Full" edition allows a relative or absolute path in the filespec, and it returns the fully qualified paths of the matching files.
The Light Edition does not allow a path in the filespec, and it returns only the names (with extensions) of the matching files.
• I added a page on handling DOS wildcards in VBScript to this site's VBScript Techniques section.
ResetDevices.bat is a new batch file to remove some or all disconnected devices.
It "evolved" from the now 13 years old RenewUSB.bat, but unlike the latter, ResetDevices.bat isn't limited to USB devices.
Both use Microsoft's DEVCON tool; if DEVCON isn't found, the batch files will prompt you to download it.
• Oops, ResetDevices.bat's first bug has been fixed: it would ignore doublequoted command line arguments (i.e. filters) if combined with unquoted command line arguments (i.e. options).
• While working on ResetDevices.bat, I also updated the DEVCON download link in RenewUSB.bat.
However, you should seriously consider not using RenewUSB.bat, unless you still use Window 2000 or XP...
ResetDevices.bat is definitely preferred!
• I wish you all a happy and healthy new year!
Happy 2017



Archived News pages
Archived news from 2016
Archived news from 2015
Archived news from 2014
Archived news from 2013
Archived news from 2012
Archived news from 2011
Archived news from 2010
Archived news from 2009
Archived news from 2008
Archived news from 2007


Archived News pages


page last uploaded: 2017-03-19, 14:54