News Archives 2018 Q1
2018-03-21
•
RxGrep.exe has been updated: its command line parsing has been rewritten almost from scratch.
2018-03-19
•
IsRedirected.exe has been updated: with the new optional command line switch
/V
the program will show the redirection test results on screen before passing on any redirected Standard Input.
2018-03-18
•
CaptureDate.exe has been updated: with the new optional command line switch
/D:seconds
you can tell the program to use a different time "threshold" when comparing capture timestamp and file timestamp; and the program now scans the first
Megabyte of the file, as the first
kilobyte wasn't always sufficient.
•
DeDup.exe has been updated: with the new optional command line switch
/R
the return code (
Errorlevel) equals the number of removed duplicates.
2018-03-15
•
Tee.exe has been updated: it now accepts an output file name without full path (assuming current directory).
The new version requires .NET Framework 4.5, keep your old version if you don't have .NET Framework 4.5 installed.
2018-03-12
• A minor update to
SystemTrayMessage.exe: the new optional command line switch
/L
tells the program to treat the message text as
Literal text, so a path like
c:\temp
will
not be interpreted as
C:
followed by a tab (
\t
) and
emp
.
•
LoCase.exe and
UpCase.exe have both been updated: they now accept multiple filespecs, and they will use
.\*.*
(all files in the current directory) if no filespec is specified.
Both require .NET Framework 4.5, keep your old versions of these tools if you don't have .NET Framework 4.5 installed.
2018-03-11
• James Hudgins reported an error in the first version of
GetVideo.bat,
and corrected it as well.
The corrected version is available for download now.
Thanks James
2018-03-09
•
GetVideo.bat is a new script to display information on the video card (model and memory).
Though this may sound rather plain and simple (or even boring), as
WMIC Path Win32_VideoController Get
will easily do the trick, the batch file's most remarkable feature is that it will even work in Windows PE environments, where
WMIC
won't return any video card information at all.
Tested on Windows 7 (regular) and Windows 10 (regular and WinPE).
2018-03-08
•
WMIGen had a minor update: the dropdown for the namespaces will now be resized with the program window, so on large screens namespace paths won't get truncated in the dropdown list.
2018-03-03
• Frank Geelen reported an issue with
CountDown.exe: on his Windows 10 system, the program would complain about .NET 3.5 not being installed, unless it was started from the System32 folder.
Since my Visual Studio 2010 Express environment was having some issues too, the first thing I tried to solve the CountDown issue was to recompile it in Visual Studio 2017 on Windows 10.
And Bingo, problem solved!
So, starting with the
DialogBoxes and
SystemTrayMessage.exe today, I will upload my recompiled C# examples.
The recompiled C# examples will get ".1" appended to their original version number, e.g. the recompiled MessageBox.exe 1.28 got version number 1.28.1.
Thanks Frank
2018-02-19
• With the new
IsDuplexPrinter.bat script you check if a printer is capable of duplex (two-sided) printing.
2018-02-12
•
SystemTrayMessage.exe has been updated again: it now accepts
\n
for newlines and
\t
for tabs in its tooltip message.
An example to demonstrate its usage (requires
CountDown.exe too):
@ECHO OFF
SET Message=It is time for your daily backup.\nPlease save and close all documents,\nor press any key to skip the backup.
START /B SystemTrayMessage.exe "%Message%" /T:"Backup Time" /V:20 /S:186 /W
ECHO Press any key to skip the backup . . .
SET /P "=Seconds to start of backup: " < NUL
CountDown.exe 20
IF ERRORLEVEL 2 (
ECHO.
ECHO Backup has been skipped . . .
EXIT /B 1
)
SystemTrayMessage.exe "Your daily backup has been started" /T:"Backup Running" /V:20 /S:186
REM Insert your backup command here
2018-02-11
- you can now use icons from any source using the optional
/P:iconfile
switch
- the new optional switch
/W
makes the program wait for the specified timeout period, and then hide the icon
- specified timeout periods (
/V:seconds
switch) can now be any number greater than zero (though each OS version may pose its own limits)
2018-02-10
• I wanted to have a script show a tooltip message balloon in Windows' system tray, so I wrote
SystemTrayMessage.exe.
By default, it uses icon #277 from Shell32.dll in the tooltip balloon; use the program's
/S:index
command line switch to select an alternative icon.
My own
Shell32Icons.exe can be used to browse the available icons and get their indexes.
2018-01-23
2018-01-14
• I added a simple demo project and a tip on embedded images to the new
HTAs page.
2018-01-11
2018-01-09
• Working on an HTA for a project, I struggled for hours on what turned out to be a stupid typo: an improperly terminated curly brace in the stylesheet!
So today I updated
CheckVarsVBS.exe, which originally only checked VBScript (and HTA) code for
unused variables and subroutines, but now also checks for some common typos in HTAs' head and for nested subroutines.
2018-01-01
• Happy New Year!
page last modified: 2018-04-16; loaded in 0.0058 seconds