|December 27, 2011||• I fixed some issues with Holidays.hta, and while at it, added another Dutch "special day": Saint Martin's Day.|
|December 23, 2011||• Believe it or not, but today I wrote EasterPHP.bat, a simple batch file that uses PHP to return the Easter date for the current or specified year.
• Several holidays have been added to Holidays.hta, like Columbus Day, Thanksgiving, Halloween and Sinterklaas.
|December 21, 2011||• BirdName.hta's update and configuration (customization/translation) features have now been implemented in Holidays.hta too.|
|December 20, 2011||• The first "official" (but probably not "final") release of BirdName.hta is available.|
|December 18, 2011||• BirdName.hta got some new functionalities, like a true "on-the-fly" update and an auto-update.
Unfortunately, the latest changes render old configuration files useless.
Read the "product page" and the HTA's Help screen, and examine the included configuration files for more information on the latest changes.
|December 8, 2011||• Sometimes (not often) I prefer to use a GUI. BirdName.hta combines the functionality of BirdName.vbs and ListWikipediaLanguages.vbs, and adds interactive search options if a translation isn't found. Still in beta, but you may want to give it a try.|
|December 7, 2011||• Whereas BirdName.bat translates Dutch bird names to a limited set of western languages, BirdName.vbs can use Wikipedia to translate from any supported language to any other supported language.
Note the words "supported": even if Wikipedia is available in a certain language, it does not guarantee the bird you are looking for has its own page on that Wikipedia.
Included in the ZIP file for BirdName.vbs is ListWikipediaLanguages.vbs, a helper script to list all available Wikipedia languages and their language codes.
|December 6, 2011||• Oops! Another bug has been fixed in RoboMove.bat: it would sometimes freeze the console window when aborted with Ctrl-Break.|
|December 5, 2011||• Ron Guggisberg tested GetUninstall.bat with the modified
The modification has been implemented in the latest update.
|December 3, 2011||• Björn Bäuerlein needed GetUninstall.bat to run on Windows Server 2008 R2, but until now it worked only in Windows 7.
Björn removed the version test and found out it works fine on Windows Server 2008 R2.
I modified the Windows version check, and it will now run on any version of Windows where the VER command returns 6.1.*.
I don't know if it might also work on Vista (6.0.*), if so, the FINDSTR command should use
|December 1, 2011||• Oops! A bug has been fixed in RoboMove.bat: it would pause without prompt if the target directory existed.
• BirdName.bat has been updated: more languages were added (Danish, French and German), plus additional filtering to improve the results.
The batch file is still in beta, for good reason: filtering needs to be improved a lot to extract the proper names from the Wikipedia pages.
|November 30, 2011||• For my photography site I sometimes need to translate bird names from Dutch to English.
BirdName.bat does just that. It extracts the scientific name from the Dutch Wikipedia page, and then looks up that scientific name on the English Wikipedia. It should be fairly easy to extend it to other languages.
The batch file requires my WGetTxt.vbs; you will be prompted to download it if it isn't found.
Note that the batch file will break when Wikipedia changes the layout of its bird pages.
• BTW, in BirdName.bat I search the
Contrary to the simple
|November 29, 2011||• A minor update of RoboMove.bat: it now uses
|November 23, 2011||• Bob Shepard found and corrected a typo in RESET.SCR, the
• While on the subject: I would like to thank Drew for sending me so many corrections for typos on this site.
|November 17, 2011||• Michael Krailo found and fixed a bug in MakeTemp.bat: depending on the locale it would sometimes use trailing spaces instead of trailing zeroes in the time variable, resulting in a space in the temporary file name, and the file name no longer being random.
• DNSServers.bat is a new batch file that uses WMIC to list the configured DNS servers for each network adapter.
|November 16, 2011||• Every time I move photos to a new directory, at the next backup ROBOCOPY will delete the existing files in the backup directory and then copy them again to their new directory.
This is not very efficient, and backing up my photos to a network drive often takes much longer than expected based on the number of new photos.
So I finally wrote RoboMove.bat (I've been planning to do that for ages), which can be run before ROBOCOPY, to move files in the target directory to a new location, thus matching the source directory as closely as is possible without copying. When after that ROBOCOPY is used, it finishes much quicker.
Like ROBOCOPY, RoboMove.bat expects 2 directories as its first command line arguments, optionally followed by the
BTW, if you don't understand the purpose of this batch file, never mind, you probably do not need it.
|November 12, 2011||• ListFilesBetween.bat is a batch file that lists all matching files with timestamps between two specified dates, e.g. it can be used to list all batch files in the
Since the batch file uses
|November 2, 2011||• Hardware.hta 5.46 beta 3 is available for download.
It features a bugfix (physical monitor size would always show the local computer's properties) and a new Print feature.
Printings is still far from perfect. It uses a (hidden) HTML page with a table containing the inventory results.
In IE9 one table row is garbled at every pagebreak. I did not test in other IE versions yet.
|November 1, 2011||• ListNICs.exe is a utility, written in C#, to list all physical network adapters, with their link speeds and types (i.e. Bluetooth/wired/wireless).|
|October 27, 2011||• Denis St-Pierre sent some script snippets in VBScript, batch and PowerShell to check if the current process is running with administrative or elevated privileges.
|October 18, 2011||• Minor updates for AppCompat.bat and PingSite.exe: the help text has been corrected for both.|
|October 17, 2011||• I wrote AppCompat.bat to ease adding Application Compatibility Layers for programs in Windows 7.
So far I had been lucky enough not to need it, but Adobe Reader X crashes whenever I try to print a PDF file.
Adobe came with a workaround: disabling Protected Mode, but that is rather drastic, and they do not recommend it.
Setting the Application Compatibility for Adobe Reader to Windows 2000 does solve the problem without sacrificing security.
The next step was writing the batch file to allow changing the setting without user interaction.
|October 13, 2011||• And yet another update for Hardware.hta: it now also displays the physical dimensions of each monitor, either as the diagonal in inches (default) or as width and height in centimeters (
• PDFPageCount.exe had a minor update: a typo in the help screen has been corrected, 0 page files now also count as errors, and the C# code has been optimized for better performance.
|October 12, 2011||• I wrote a C# version of PDFPageCount, just to find out if it would outperform the batch file.
Like the batch file it was inspired by, and based on sample code by Dharmaraj Nagarajan.
|October 11, 2011||• Like so many scripts on this site, PDFPageCount.bat was born because I needed it myself.
As the name suggests, it will return the page count for the specified PDF file(s).
Strange as it may sound, but the batch version was the most reliable one of all script versions I tried so far.
The batch file was inspired by C# sample code by Dharmaraj Nagarajan.
|Archived news from 2011|
|Archived news from 2010|
|Archived news from 2009|
|Archived news from 2008|
|Archived news from 2007|
|page last uploaded: 2015-08-24, 21:13|