Click the floppy disk icons to download the ZIPed sources
Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources
| KiXtart examples | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Description | Last modified (DD/MM/YYYY) | Also available in | Remarks | ||||||||
| DOS batch |
NT batch |
JScript | Perl | Power Shell |
Rexx | VB Script | ||||||
| AVVer | Check the number of days passed since the last virus definitions update (checks both Symantec AntiVirus Corporate Edition and Network Associates' McAfee VirusScan) | 17/05/2004 | NT | This KiXtart script was written for SAV version 7.6.
Use SAVVer.kix to check on SAV versions 9 and 10. Note: These scripts and its author are in no way associated with neither Symantec nor Network Associates. |
||||||||
| BIOS | Display BIOS information for any WMI enabled computer on the network | 09/01/2003 | NT | P | PS | R | V | Created using Microsoft's Scriptomatic tool. | ||||
| BIOSInfo | Display BIOS information for any WMI enabled computer on the network | 13/04/2003 | P | R | KiXtart version uses the same WMI code as BIOS.kix, plus DEBUG.EXE to retrieve the BIOS release date. Perl and Rexx versions use DEBUG.EXE only. | |||||||
| BkAllDrv | Backup all Windows 2000 drivers | 12/01/2004 | NT | P | R | This scripts requires Microsoft's DEVCON utility | ||||||
| BrFolder | Open a Browse Folder dialog | 30/03 2007 |
V | Based on the Hey Scripting Guys article How Can I Show Users a Dialog Box That Only Lets Them Select Folders? | ||||||||
| CapsOff | If CapsLock is ON, toggle it OFF again | 14/12/2007 | Works only with KIX32.EXE, not with WKIX32.EXE | |||||||||
| CDEject | Eject all CDROMs | 07/01/2003 | PS | R | V | Based on a VBScript posted by Christoph Fricke in a WSH scripting newsgroup; needs Windows Media Player. Rexx version (for OS/2 only) needs OS/2 Multimedia (MMOS2) Rexx support. |
||||||
| CDROM | Display CD-ROM drive letter(s) | 09/01/2003 | D | NT | R | V | A modified version of Ruud van Velsen's GetDrvs.kix sample script that comes with the KiXtart 4.* distributions | |||||
| CompName.kix CompName.bat |
Change Windows 9x computer name | 12/10/2003 | ||||||||||
| Dec2Hex | Convert a decimal number to 8 digit hexadecimal | 17/11/2002 | NT | P | R | V | ||||||
| DefPRN2K | Display Windows 2000/XP's default printer and port | 08/01/2003 | NT | J | P | R | V | |||||
| DelTrash2 | Empty the recycle bin without prompting for confirmation, or remove only files older than the specified number of days | 17/06/2007 | V | This script requires BinManager by Tim Tabor. Based on Tim Tabor's own JScript sample. |
||||||||
| Easter | Calculate Easter date for a specified year | 30/03/2002 | NT | J | P | R | V | Easter2.kix contains a fix to make it work in KiXtart 4.20 or later. Scripts based on the instructions found at Simon Kershaw's KEEPING THE FEAST. |
||||
| Easter2 | 30/12/2002 | |||||||||||
| False | Port of UNIX' "false" command | 02/04/2003 | P | R | See also matching True | |||||||
| FaR.kix and FaR.bat |
Find And Replace substrings in a string | 15/07/2001 | P | R | ||||||||
| GetRes | Display Windows 2000's screen resolution and refresh rate | 09/01/2003 | NT | P | PS | R | V | Rexx version for OS/2 only | ||||
| Hardware | Display basic hardware summary for the local computer | 01/01/2005 | D | NT | V HTA |
Created using Microsoft's Scriptomatic tool. | ||||||
| Hotfixes | List installed hotfixes | 24/11/2002 | NT | V | VBScript version created using Microsoft's Scriptomatic tool. | |||||||
| IsLaptop | Check if the script runs on a laptop or not | 29/07/2006 | Based on Guy Thomas' CHASSIS.VBS script | |||||||||
| KixINI.vbs | Demo VBScript uses KiXtart COM object to read or write INI files | 01/07/2010 | V | Requires KIXTART.DLL to be registered. | ||||||||
| KixMacro | This script makes the Kix macro commands available for batch files | 23/06/2001 | ||||||||||
| LeapYear | Check if the specified year is a leap year | 26/11/2002 | D | NT | J | P | PS | R | V | MS-DOS version uses BATCHMAN by Michael Mefford | ||
| LiveUpd | Run Symantec's LiveUpdate unattended using KiXtart's SendKeys() function. | 21/08/2001 | ||||||||||
| LoCase | Convert file names to all lower case | 01/06/2001 | NT | R | Use UpCase to convert to all upper case | |||||||
| Make NumLock and CapsLock light up in patterns: |
||||||||||||
| LockSwap | From left to right and back again | 31/12/2003 | J | V | These scripts each end after 15 seconds. VBScript and JScript versions use ScrollLock too, which allows more patterns. |
|||||||
| LockRand | At random | 31/12/2003 | J | V | ||||||||
| LockSnak | Crawling like a snake | 02/01/2004 | J | V | ||||||||
| Logoff & Shutdown | Logoff and shutdown using KiXtart | |||||||||||
| MDACVer | Display the currently installed MDAC version, and optionally check if it meets a required minimum version | 15/05/2008 | V | More details on my Software Requirements page | ||||||||
| NICSpeed | Display ethernet adapter's link speed for any WMI enabled computer | 21/01/2006 | V | Created using Microsoft's Scriptomatic tool. | ||||||||
| NoWinUpd | Disable Windows' Update feature | 10/04/2002 | NT | Use WinUpd to reenable Windows Update | ||||||||
| PMChoice.bat PMChoice.kix |
Poor Man's Choice: a combination of a batch file and a KiXtart script to replace the CHOICE command that was left out in NT. | 09/10/2003 | P | R | Requires KiXtart 4.01 or later for timeout only; older KiXtart versions will not fail unless timeout is specified. Timeout not implemented in Perl version. Rexx version needs Quercus Systems' REXXLIB for timeout only; if not available will just ignore specified timeout option. Rexx version even accepts redirected input. |
|||||||
| Printers | Map printers to LPT ports using individual scripts, optionaly mapping Windows' default printer to LPT1 | 17/10/2000 | Tested in NT4 SP5 only | |||||||||
| PrintPDF | Print the specified PDF file(s) | 03/05/2003 | NT | P | R | V | Needs Acrobat Reader to be the default file association for PDF files. Usually fails when other Adobe software is installed. | |||||
| ProdID | Display Windows' Product ID | 31/03/2002 | NT | V | ||||||||
| Random | Generate random numbers | 21/04/2001 | D | NT | J | P | R | V | ||||
| ReadINI | Read a value from an INI file | 30/03/2003 | NT | P | R | V | Batch version may fail on "special" characters like & | < > and parentheses | |||||
| ReadReg | Read a value from the registry | 30/03/2003 | NT | P | R | V | Batch version may fail on "special" characters like & | < > and parentheses | |||||
| Resistor | Test your knowledge of E12 resistor color codes | 08/11/2004 | R | Rexx version tested in OS/2 only; uses ANSI escape sequences to produce colored text | ||||||||
| Revo_Ver | Read the latest available uninstaller version from Revo's website | 18/08/2009 | V | |||||||||
| SAVVer | Display Symantec AntiVirus program file and definitions version | 15/04/2006 | Note: This script and its author are in no way associated with Symantec. | |||||||||
| SCSI | Enumerate local disk drives (SCSI and IDE) | 14/10/2003 | NT | R | Tested in Windows 2000 only | |||||||
| SecCheck | Security Check: logs and warns if password age or virus definitions age exceed a specified limit, or when specified hotfixes are not installed | 30/09/2003 | Combines AVVer and W2KHotFixes and adds password age check. Add to logon script to make users aware of vulnerabilities. |
|||||||||
| SecStat | Display a SecurityCenter status overview | 30/12/2008 | NT | V | Requires Windows XP SP2 or later. Use WBEMTEST.EXE to find all properties for a specific AntiVirus or Firewall product. |
|||||||
| Services | Display services and their properties | 26/11/2002 | NT | V | Created using Microsoft's Scriptomatic tool. | |||||||
| Shutdown & Logoff | Shutdown and logoff using KiXtart | |||||||||||
| SortDate | Display current date in YYYYMMDD format | 14/12/2000 | D | NT | J | P | PS | R | V | MS-DOS version uses BATCHMAN by Michael Mefford | ||
| SortTime | Display current time in HHmmSS format | 16/12/2000 | D | NT | J | P | R | V | MS-DOS version uses BATCHMAN by Michael Mefford | |||
| StarDate | Convert current date & time to stardate | 03/05/2003 | NT | P | R | V | Based on an algorithm found on The StarTrek Gallery | |||||
| Tomorrow | Display tomorrow's date in 2 formats | 22/02/2008 | J | P | PS | R | V | Thanks for Michael Kahle for correcting an error in the leapyear code | ||||
| True | Port of UNIX' "true" command | 02/04/2003 | P | R | See also matching False | |||||||
| UpCase | Convert file names to all upper case | 01/06/2001 | NT | R | Use LoCase to convert to all lower case | |||||||
| User Input | Receive user input and store it in an environment variable | 16/12/2000 | ||||||||||
| VideoROM | Show display adapter manufacturer's information read from adapter ROM | 09/01/2003 | D | NT | P | R | V | KiXtart and VBScript versions created using Microsoft's Scriptomatic tool. Batch, Perl and Rexx versions use DEBUG.EXE. |
||||
| W2KHotFixes | Check if the specified Windows 2000 hotfixes have been installed | 25/09/2003 | Uses an external ASCII file (W2KHotFixes.lst) to list the hotfixes to be checked. | |||||||||
| Week | Display week number | 10/02/2003 | D | NT | J | P | PS | R | V | |||
| Which | Locate the specified program file | 07/04/2003 | D | NT | P | PS | R | Also available as OS/2 Rexx script | ||||
| WinUpd | Reenable Windows' Update feature | 10/04/2002 | NT | Use NoWinUpd to disable Windows Update | ||||||||
| WMIGen.hta | This HTA generates Batch, C#, JScript, KiXtart, Object Rexx, Perl, PowerShell, Python, Ruby, VB .NET and VBScript code for WMI queries | 30/06/2010 | HTA | Automatically checks for updates on startup. Based on the example from the Microsoft TechNet ScriptCenter article Scripting Eye for the GUI Guy, with help from the Scripting Guys' Scriptomatic 2.0 and HTA Helpomatic tools and The Script Center Script Repository: Sample Windows PowerShell Scripts. C# code generation with assistance of Bas van der Woude. |
||||||||
| Yesterday | Display today's and yesterday's date in 2 formats | 04/09/2001 | NT | J | P | PS | R | V | ||||
| ZapVBS | Associate VBScript files to Notepad, effectively disabling VBScript (to disable e-mail viruses while you are installing some real protection software) | 09/06/2001 | ||||||||||
| visitors can't be wrong... can they? | page last uploaded: 1 September 2010, 11:34 |