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

 

Download the ZIPed sources Click the floppy disk icons to download the ZIPed sources

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

 

KiXtart examples
Click the floppy disk icons to dowload the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources Name Description Last modified Also available in Remarks
DOS
batch
NT
batch
JScript Perl Power
Shell
Rexx VB
Script
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source AVVer Check the number of days passed since the last virus definitions update (checks both Symantec AntiVirus Corporate Edition and Network Associates' McAfee VirusScan) 2004-05-17   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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source BkAllDrv Backup all Windows 2000 drivers 2004-01-12   NT   P   R   This scripts requires Microsoft's DEVCON utility
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source CapsOff If CapsLock is ON, toggle it OFF again 2007-12-14               Works only with KIX32.EXE, not with WKIX32.EXE
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source CompName.kix
CompName.bat
Change Windows 9x computer name 2003-10-12                
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Dec2Hex Convert a decimal number to 8 digit hexadecimal 2002-11-17   NT   P   R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source DefPRN2K Display Windows 2000/XP's default printer and port 2003-01-08   NT J P   R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Easter2 2002-12-30
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source False Port of UNIX' "false" command 2003-04-02       P   R   See also matching True
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source FaR.kix and
FaR.bat
Find And Replace substrings in a string 2001-07-15       P   R    
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRes Display Windows 2000's screen resolution and refresh rate 2003-01-09   NT   P PS R V Rexx version for OS/2 only
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Hardware Display basic hardware summary for the local computer 2005-01-01 D NT         V
HTA
Created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Hotfixes List installed hotfixes 2002-11-24   NT         V VBScript version created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source IsLaptop Check if the script runs on a laptop or not 2006-07-29               Based on Guy Thomas' CHASSIS.VBS script
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source KixINI.vbs Demo VBScript uses KiXtart COM object to read or write INI files 2010-07-01             V Requires KIXTART.DLL to be registered.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source KixMacro This script makes the Kix macro commands available for batch files 2001-06-23                
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source LiveUpd Run Symantec's LiveUpdate unattended using KiXtart's SendKeys() function. 2001-08-21                
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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:

     
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source LockRand At random 2003-12-31     J       V
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source LockSnak Crawling like a snake 2004-01-02     J       V
 
     
    Logoff & Shutdown Logoff and shutdown using KiXtart                  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source NICSpeed Display ethernet adapter's link speed for any WMI enabled computer 2006-01-21   XP         V Created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source NoWinUpd Disable Windows' Update feature 2002-04-10   NT           Use WinUpd to reenable Windows Update
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Printers Map printers to LPT ports using individual scripts, optionaly mapping Windows' default printer to LPT1 2000-10-17               Tested in NT4 SP5 only
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source ProdID Display Windows' Product ID 2002-03-31   NT         V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Random Generate random numbers 2001-04-21 D NT J P   R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source ReadReg Read a value from the registry 2003-03-30   NT   P   R V Batch version may fail on "special" characters like & | < > and parentheses
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Revo_Ver Read the latest available uninstaller versions from Revo's website 2012-08-08             V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SAVVer Display Symantec AntiVirus program file and definitions version 2006-04-15               Note: This script and its author are in no way associated with Symantec.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SCSI Enumerate local disk drives (SCSI and IDE) 2003-10-14   NT       R   Tested in Windows 2000 only
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Services Display services and their properties 2002-11-26   NT         V Created using Microsoft's Scriptomatic tool.
    Shutdown & Logoff Shutdown and logoff using KiXtart                  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SortTime Display current time in HHmmSS format 2000-12-16 D NT J P   R V MS-DOS version uses BATCHMAN by Michael Mefford
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source StarDate Convert current date & time to stardate 2003-05-03   NT   P   R V Based on an algorithm found on The StarTrek Gallery
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source True Port of UNIX' "true" command 2003-04-02       P   R   See also matching False
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source UpCase Convert file names to all upper case 2001-06-01   NT       R   Use LoCase to convert to all lower case
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source User Input Receive user input and store it in an environment variable 2000-12-16                
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Week Display week number 2003-02-10 D NT J P PS R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Which Locate the specified program file 2003-04-07 D NT   P PS R   Also available as OS/2 Rexx script
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source WinUpd Reenable Windows' Update feature 2002-04-10   NT           Use NoWinUpd to disable Windows Update
Click the floppy disk icon to dowload the ZIPed source   WMIGen.hta This HTA generates Batch, C#, Delphi, F#, JScript, KiXtart, Object Pascal, Object Rexx, Perl, PowerShell, Python, Ruby, VB .NET and VBScript code for WMI queries 2014-08-20             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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Yesterday Display today's and yesterday's date in 2 formats 2001-09-04   NT J P PS R V  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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 uploaded: 24 January 2014, 11:07
Fileaze