Rob van der Woude's Scripting Pages

News Archives 2017 Q3

 

[ Back to the current news page... ]

 

2017-08-30
WMIGen has been updated once more: Note that the generated batch code grows exponentially when using the /CHAIN switch, and it will execute a lot slower than the "plain" code.
Also keep in mind that the "chained" batch code uses some true "magic" (a.k.a. "undocumented or unsupported code tricks") to perform the character array to string conversion, which might break with future Windows updates.
2017-08-25
• And yet another update to WMIGen: generated Tcl code is now also "chain capable", i.e. if the /CHAIN command line switch is used, the generated Tcl code will show arrays of numbers both as an array and as an "interpreted" string.
2017-08-23
ListPrinters.tcl has been updated: I added some error handling and it can now also be used to query remote computers.
WMIGen 10.0.4 has been released: the generated Tcl code now accepts a remote computer as an optional command line argument, and some error handling has been added to the generated Tcl code.
2017-08-22
ListPrinters.tcl is a new Tcl script that will list all printers on the local computer.
2017-08-21
• With a little help from WMIGen 10.0.3 and a lot of help from the online Tcl documentation I wrote IsCDWriter.tcl.
It is more or less equivalent with the PowerShell version.
2017-08-19
WMIGen 10.0.3 has been released.
Tcl has been added to the list of supported languages, and an error in the "Run" output screens has been corrected.
2017-08-18
WMIGen 10.0.2 has been released.
This new version can generate scripts for WMI queries in PHP, besides the list of languages it already supported.
2017-08-15
• After writing the batch and VBScript code, yesterday, I just couldn't resist writing a PowerShell version too: IsCDWriter.ps1.
Unlike the VBScript version, which accepts any number of drive letters plus an optional remote computer name, the PowerShell script accepts either a single drive letter or no command line argument at all.
2017-08-14
• I added a (batch) command to check whether a drive is a CD/DVD writer or not to the list of Short Command Line Tips.
• After writing the batch code, I had to write a VBScript version too, of course: IsCDWriter.vbs.
2017-07-26
CheckBOM.vbs is a new script to detect a file's text encoding by checking its Byte Order Mark (BOM).
I also added it to a new page on file encoding detection in the VBScript Techniques section.
Don't expect the script to tell you that a file is ANSI (ASCII) encoded, as ANSI does not use a Byte Order Mark!
Plain ANSI text will be listed as "Unknown", as will binary files.
2017-07-24
• I added a page on file encoding detection in the Batch Techniques section.
This brilliantly simple technique by jaclaz is based on the fact that a FOR /F loop will abort if the text file contains ASCII 0 characters:
FOR /F %%A IN (%1) DO (ECHO ANSI&GOTO:EOF)
ECHO Unicode


Thanks jaclaz
2017-07-11
• I added a paragraph on using WMI in PHP.
The next version of WMIGen will be able to generate PHP code for WMI queries.
2017-07-07
• I added a page on wildcards in batch commands, and how they may get you into trouble.
2017-07-06
If Amazon's Kindle Reader for PC is allowed to automatically update, it may install updates in the user profile, instead of the Program Files directory.
To me, this is an absolute no-no!
So I disabled its auto update feature and scheduled CheckKindleUpdate.vbs to notify me if an update is available.

 

 

Archived News pages
Archived news from 2017
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

 

 


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