Rob van der Woude's Scripting Pages

KiXtart Examples

 

0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

💾 Click the floppy disk icons to download the ZIPped sources

Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPped sources

 

KiXtart examples
💾 Name Description Last modified Also available in Remarks
DOS
batch
NT
batch
JScript Perl Power
Shell
Rexx VB
Script
💾 BIOS Display BIOS information for any WMI enabled computer on the network 2003-01-09   NT   P PS R V Created using Microsoft's Scriptomatic tool.
💾 BIOSInfo Display BIOS information for any WMI enabled computer on the network 2003-04-13       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 2004-01-12   NT   P   R   This scripts requires Microsoft's DEVCON utility
💾 CapsOff If CapsLock is ON, toggle it OFF again 2007-12-14               Works only with KIX32.EXE, not with WKIX32.EXE
💾 CDEject Eject all CDROMs 2003-01-07         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) 2003-01-09 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 2003-10-12                
💾 Dec2Hex Convert a decimal number to 8 digit hexadecimal 2002-11-17   NT   P   R V  
💾 DefPRN2K Display Windows 2000/XP's default printer and port 2003-01-08   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 2007-06-17             V This script requires BinManager by Tim Tabor.
Based on Tim Tabor's own JScript sample.
💾 Easter Calculate Easter date for a specified year 2002-03-30   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 2002-12-30
💾 False Port of UNIX' "false" command 2003-04-02       P   R   See also matching True
💾 FaR.kix and
FaR.bat
Find And Replace substrings in a string 2001-07-15       P   R    
💾 GetRes Display Windows 2000's screen resolution and refresh rate 2003-01-09   NT   P PS R V Rexx version for OS/2 only
💾 Hardware Display basic hardware summary for the local computer 2005-01-01 D NT         V
HTA
Created using Microsoft's Scriptomatic tool.
💾 Hotfixes List installed hotfixes 2002-11-24   NT         V VBScript version created using Microsoft's Scriptomatic tool.
💾 IsLaptop Check if the script runs on a laptop or not 2006-07-29               Based on Guy Thomas' CHASSIS.VBS script
💾 KixINI.vbs Demo VBScript uses KiXtart COM object to read or write INI files 2010-07-01             V Requires KIXTART.DLL to be registered.
💾 KixMacro This script makes the Kix macro commands available for batch files 2001-06-23                
💾 LeapYear Check if the specified year is a leap year 2002-11-26 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. 2001-08-21                
💾 LoCase Convert file names to all lower case 2001-06-01   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 2003-12-31     J       V These scripts each end after 15 seconds.
VBScript and JScript versions use ScrollLock too, which allows more patterns.
💾 LockRand At random 2003-12-31     J       V
💾 LockSnak Crawling like a snake 2004-01-02     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 2008-05-15             V More details on my Software Requirements page
💾 NICSpeed Display ethernet adapter's link speed for any WMI enabled computer 2006-01-21   XP         V Created using Microsoft's Scriptomatic tool.
💾 NoWinUpd Disable Windows' Update feature 2002-04-10   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. 2003-10-09       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 2000-10-17               Tested in NT4 SP5 only
💾 PrintPDF Print the specified PDF file(s) 2003-05-03   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 2002-03-31   NT         V  
💾 Random Generate random numbers 2001-04-21 D NT J P   R V  
💾 ReadINI Read a value from an INI file 2003-03-30   NT   P   R V Batch version may fail on "special" characters like & | < > and parentheses
💾 ReadReg Read a value from the registry 2003-03-30   NT   P   R V Batch version may fail on "special" characters like & | < > and parentheses
💾 Resistor Test your knowledge of E12 resistor color codes 2004-11-08           R   Rexx version tested in OS/2 only; uses ANSI escape sequences to produce colored text
💾 Revo_Ver Read the latest available uninstaller versions from Revo's website 2012-08-08             V  
💾 SCSI Enumerate local disk drives (SCSI and IDE) 2003-10-14   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 2003-09-30               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 2008-12-30   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 2002-11-26   NT         V Created using Microsoft's Scriptomatic tool.
    Shutdown & Logoff Shutdown and logoff using KiXtart                  
💾 SortDate Display current date in YYYYMMDD format 2000-12-14 D NT J P PS R V MS-DOS version uses BATCHMAN by Michael Mefford
💾 SortTime Display current time in HHmmSS format 2000-12-16 D NT J P   R V MS-DOS version uses BATCHMAN by Michael Mefford
💾 StarDate Convert current date & time to stardate 2003-05-03   NT   P   R V Based on an algorithm found on The StarTrek Gallery
💾 Tomorrow Display tomorrow's date in 2 formats 2008-02-22     J P PS R V Thanks for Michael Kahle for correcting an error in the leapyear code
💾 True Port of UNIX' "true" command 2003-04-02       P   R   See also matching False
💾 UpCase Convert file names to all upper case 2001-06-01   NT       R   Use LoCase to convert to all lower case
💾 User Input Receive user input and store it in an environment variable 2000-12-16                
💾 VideoROM Show display adapter manufacturer's information read from adapter ROM 2003-01-09 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 2003-09-25               Uses an external ASCII file (W2KHotFixes.lst) to list the hotfixes to be checked.
💾 Week Display week number 2003-02-10 D NT J P PS R V  
💾 Which Locate the specified program file 2003-04-07 D NT   P PS R   Also available as OS/2 Rexx script
💾 WinUpd Reenable Windows' Update feature 2002-04-10   NT           Use NoWinUpd to disable Windows Update
💾   WMIGen.exe Generate Batch, C#, Delphi, F#, JScript, KiXtart, Object Pascal, Object Rexx, Perl, PHP, PowerShell, Python, Ruby, Tcl, VB .NET and VBScript code for WMI queries 2023-02-25             HTA  
💾 Yesterday Display today's and yesterday's date in 2 formats 2001-09-04   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) 2001-06-09                

 

0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 


page last modified: 2023-02-25; loaded in 0.0219 seconds