Click the floppy disk icons to download the ZIPped sources
| Batch file examples | |||||
|---|---|---|---|---|---|
| Name | Description | OS (1) | Last modified (DD/MM/YYYY) |
Remarks | |
| KeyLocks.bat | Return the status of the CapsLock, NumLock and ScrollLock keys | NT | 17/12/2007 | Uses DEBUG to read the keyboard status. Also available in Perl as KeyLocks.pl and in VBScript as CapsLock.vbs (CapsLock status only, and uses MS Word or WordPerfect instead of DEBUG). |
|
| KillDisc.bat | Logoff disconnected Windows NT 4 Terminal Server ICA clients | TS | 17/02/2001 | ||
| KillNtPr.bat | Kill an NT process, specified by its program name and extension (no path), using either TLIST and KILL from the Windows NT 4 Resource Kit, or SysInternals.com's PSLIST and PSKILL, or XP's native TASKLIST and TASKKILL. | NT+RK, XP | 14/03/2001 | Also available as OS/2 Rexx script | |
| KixAssoc.bat | Associates the KIX extension with KIX32 executable. After executing this batch file once, you can call any *.KIX directly, without the need to "prefix" it with KIX32.EXE. |
NT | 19/09/2000 | With SET PATHEXT=.KIX;%PATHEXT%
(better yet: set it as a global variable in Control Panel, System applet)
you won't need to type the .KIX extension to run .KIX scripts.Adapt the (hard coded) path for KIX32.EXE to your own situation. |
|
| KixMacro.kix | This KiXtart script makes the KiXtart macro
commands available for batch files.
Usage:
KIX32 KIXMACRO.KIX $KIXMACRO=@macro [$VarName=env_var]Where @macro can be any valid KiXtart macro. The result is stored in the environment variable env_var |
All | 23/06/2001 | You will need to install Kix to use this script. See my Kix page for download locations. |
|
| Notes: | (1) | Operating System version these batch files were meant for | |
|---|---|---|---|
| All | No version specific commands are used, though it is (obviously) not tested with every DOS version available | ||
| 95 | Windows 95 (and probably Windows 98 as well) | ||
| 98 | Windows 98 | ||
| DOS3 | MS-DOS 3 and 4 | ||
| DOS6+ | MS-DOS 6 and later | ||
| Kix | Windows (most functions also in plain DOS) with KiXtart | ||
| NT4 | Windows NT 4 (Windows NT 4 Terminal Server Edition too) | ||
| NT | Windows NT (Windows 2000 and Windows NT 4 Terminal Server Edition too) | ||
| NT+RK | Windows NT with Resource Kit (Windows NT 4 Terminal Server Edition with Resource Kit too) | ||
| W2K | Windows 2000, and probably XP and Server 2003 as well | ||
| W2K+RK | Windows 2000 with (Server) Resource Kit, and (probably) XP and Server 2003 as well | ||
| W2K3 | Windows Server 2003 | ||
| XP | Windows XP | ||
| OS2 | OS/2 Warp | ||
| TS | Windows NT 4 Terminal Server Edition, or Windows 2000 Server or Windows Server 2003 with Terminal Services | ||