Rob van der Woude's Scripting Pages

News Archives 2012 Q1


[ Back to the current news page... ]


March 19, 2012 Edit.bat used to crash frequently in 64-bit Windows.
The cause is that in 64-bit Windows the Program Files path for 32-bit software contains parenthesis (C:\Program Files (x86)\...), which should be escaped to allow using it inside a FOR loop. The updated Edit.bat tries to avoid using the path inside FOR loops, so it may crash less frequently.
A real solution is high on my todo list.
March 12, 2012 • A change in Wikipedia's HTML code made BirdName.hta display empty fields for the translated names. The HTA has been updated to fix this.
February 17, 2012 • George Tjon sent a correction for the constants declarations in Reg2Vbs.vbs, a script by Denis St-Pierre to export registry settings using VBScript only.

Thanks George
February 1, 2012 • Christopher A. LaRue sent me a message stating that GetUnins.vbs, a script to list or search uninstall commands, skipped 32-bit software in 64-bit Windows.
He also knew where to look for the missing info in the registry: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall.
So the updated GetUnins.vbs now checks if the computer to be investigated runs 64-bit Windows, and if so, also searches the Wow6432Node keys.
While at it, I also updated GetUninstall.bat.

Thanks Christopher
January 13, 2012 • Today is Blame Someone Else Day!

• Steve Robertson reported that the 0 byte configuration file bug in Hardware.hta still wasn't fixed completely: it would still sometimes generate an error message in case a 0 byte Hardware.cfg configuration file was created using the "Settings" button.
I "solved" it by immediately deleting it if its size is 0 bytes after saving it.

Thanks Steve
January 9, 2012 • Steve Robertson reported a bug in Hardware.hta: it would generate an error message in case a 0 byte Hardware.cfg configuration file was found.
While working on the fix, I discovered and fixed another bug in the Print function: IE9 somehow "spontaneously" decided to require the IE object to be visible before displaying a print preview.

Thanks Steve
January 7, 2012 • Eugeniu Tricolici found a bug in BootDisk.bat: it would return the last bootable drive listed by the WMIC query, which is not always the drive we are looking for (i.e. in his case it would return a bootable USB stick).
He suggested a break in the loop, effectively using the first partition listed by WMIC instead of the last one. This may work in his case, but may lead to new errors on other systems.
So, instead, I modified the WMIC query: it now returns the last bootable primary partition listed by WMIC; still not 100% fool-proof, but better than before, it will suffice in most cases.

Thanks Eugeniu
January 5, 2012 Hardware.hta has been updated: it now has print functionality (command line as well as GUI).

RoboMove.bat has been updated too: it now displays its progress, and the code has been simplified (or optimized).
January 1, 2012 • Happy New Year!


Archived News pages
Archived news from 2011
Archived news from 2010
Archived news from 2009
Archived news from 2008
Archived news from 2007


page last modified: 2018-04-16; loaded in 0.0064 seconds