----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

MasterCatalog

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Master Catalog

CCS Common Command Set (native Windows commands and utilities - internal and external)
ntlib Advanced NT/2K/XP/K3 Command Library (Completely Free - ntlib.cmd)
MtCmds Standalone Mount/\Command Set ("Almost Free" at $7 or less - MtCmds.cmd)
NTCmdLib Expert NT/2K/XP/K3 Command Library ("Almost Free" at $9 or less - NTCmdLib.cmd)

All of the resources below are available from the command prompt on ALL Windows NT based operating systems (includes Windows NT 4 SP6a+,Windows 2000,Windows XP and Windows Server 2003) without adding any extra files or utilities to a standard install!

 The Advanced and Expert Windows NT/2K/XP/K3 Command Libraries are constructed entirely of highly compressed and optimized shell scripting code (i.e., a "batch file").  They are completely self-contained within a single file.

This catalog is under active refresh - last update 2007-11-17 07:15:21 AM

K

E

Y

Common Commands INTERNAL External /SWITCH Parameter Help text AddonTool
Mounted Commands .Mount/\Command CmdShorthand #Constant $FUNCTION :Procedure !GuardNote
Operating Systems NT/2K/XP/K3 NT Only NT/2K 2K Only 2K/XP XP Only XP/K3 K3 Only 2K/XP/K3
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

Command or Resource

CCS

ntlib

Mt
Cmds

NT
CmdLib

Description/Contents

?       X Display RUSHMENU. For extended help, try "? [resource]".
.       X Interactive listing and execution of most .Mt/\Cmds.
.Alive   X X X  
#ALLSYMBOLS X X X All non-alphanumeric symbols on a US keyboard
#ALPHA   X X X 26 letters of the alphabet - lower case
AppendBuffer[n]       X Append all output to the ADS buffer specified in #Buffer[n]
.AppendTempFile       X append all output to the file specified in #TempFile
Arp.exe X       Displays and modifies the IP-to-Physical address translation tables
ASSOC X       Displays or modifies file extension associations.
At.exe X       Schedules commands and programs to run on a computer.
Attrib.exe X       Displays or changes file attributes.
.BlankLine   X X X Echo's 77 Blank {or space} characters
BREAK X       Sets or clears extended CTRL+C checking.
#Buffer[n]       X ADS Buffern where n=1 to 7
c {prefix}       X Display a brief description for a specific group of #Constants beginning with #prefix
.Call   X   X Calls the active Command Library
CALL X       Calls one batch program from another.
CD X       Displays the name of or changes the current directory.
CD /       the current directory (not available in Windows NT 4)
#cd   X X X the current directory; updated by .GetCD (NT/2K/XP/K3)
$CENTER   X   X Center a string
Chcp.com X       Displays or sets the active code page number.
CHDIR X       Displays the name of or changes the current directory.
.CheckTempFile       X Checks to see if #TempFile is on an NTFS drive
.ClearBuffer[n]       X Clears the contents of the ADS buffer specified in #Buffer[n]
.ClearTempFile       X Clear the contents of the file specified in #TempFile
CLS X       Clears the screen.
Cmd.exe X       Starts a new instance of the Windows command interpreter.
#CMDSYMBOLS   X X X Keyboard symbols that "usually" need special treatment
#CodePage   X X X Code Page in effect; updated by .GetCodePage and /Init
#COLON40   X X X 40 Colons "::::::::::::::::::::::::::::::::::::::::"
.ColonLine   X X X Echo's 77 Colon ":" characters
COLOR X       Sets the default console foreground and background colors.
#Cols   X X X console Columns for the current window; updated by .GetCols and /Init
Command.com X       Starts a new instance of the MS-DOS command interpreter.
Comp.exe X       Compares the contents of two files or sets of files.
Compact.exe X       Displays or alters the compression of files on NTFS partitions.
COMPUTERNAME X       NetBIOS name of the local system
ComSpec X       Filespec of the default command interpreter
COPY X       Copies one or more files to another location.
#DASH40   X X X 40 dashes "----------------------------------------"
.DashLine   X X X Echo's 77 Dash "-" characters
DATE X       Displays or sets the date.
DATE /       DATE variable (not available in Windows NT 4)
#Date   X X X Date in local format; updated by .GetDate and /Init (NT/2K/XP/K3)
.DateEcho   X X X Echo a message, prefixed with the current date in local format
#DAYS     X X a coded variable used to display and manipulate the days of the week
Debug.exe X       Runs Debug, a program testing and editing tool.
DEL X       Deletes one or more files.
.DeleteMe       X Deletes the currently running script
.DeleteTempFile       X Delete the file specified in #TempFile
$DEQUOT   X   X DE-Quote - remove outer quotes
.dErrEcho       X Echo a message, prefixed with the current date in local format to STDERR
#DIGITS   X X X 10 digits, 0-9 space-delimited
DIR X       Displays a list of files and subdirectories in a directory.
#DirSize   X X X Bytes in the current directory; updated by .GetDirSize
#DirSizeM     X X Bytes in current directory {in Millions}; updated by .GetDirSizeM
DiskCopy.exe X       Copies the contents of one floppy disk to another.
DosKey.exe X       Edits command lines, recalls Windows commands, and creates macros.
#DOT40   X X X 40 periods (or "dots") "........................................"
.DotLine   X X X Echo's 77 Dot "." characters
.DoubleSpace   X X X Echo's two blank lines
.dtEcho       X Echo a message, prefixed with the current date and time in local format (to STDOUT)
.dtErrEcho       X Echo a message, prefixed with the current date and time in local format (to STDERR)
e     X X Display the current Errorlevel, ExitCode and the contents of variable %ErrMsg%, if defined
ECHO X       Displays messages, or turns command echoing on or off.
.ElEcho   X X X Display current errorlevel
.ElErrEcho       X Display current errorlevel (to STDERR)
ENDLOCAL X       Ends localization of environment changes in a batch file.
ERASE X       Deletes one or more files.
.ErrEcho   X X X Display output to STDERR
$ESC   X   X "Escapify" the contents of a variable
.ExistADS       X Test for the existence of a named Alternate Data Stream
EXIT X       Quits the CMD.EXE program (command interpreter).
.ExitELn     X X Exit the current script/subroutine and set ErrorLevel to n
Expand.exe X       Expands one or more compressed files.
#ext   X X X Operating system associated with the current command extensions
f {prefix}       X Display a brief description for a specific group of $FUNCTIONs beginning with $prefix
Fc.exe X       Compares two files or sets of files, and displays the differences between them.
$FCOUNT   X   X File Count - count the number of lines in a file
Find.exe X       Searches for a text string in a file or files.
FindStr.exe X       Searches for strings in files.
:FNL   X   X [:File_Number_Lines] (add fixed column-width line numbers to a file)
FOR X       Runs a specified command for each file in a set of files.
.ForAll   X X X place an entire line of text into a variable
ForceDos.exe X       Force a combined DOS/OS2 application to run in DOS Mode
.ForExpand   X X X dynamically expand the contents of a variable
#Free   X X X Free space in bytes; updated by .GetFree
#FreeM     X X Free space in Millions of bytes; updated by .GetFreeM
Ftp.exe X       Transfers files to and from a computer running an FTP server service
FTYPE X       Displays or modifies file types used in file extension associations
g {prefix}       X Display a brief description for a specific /GlobalSwitch.
.GetBuffers       X Get temporary ADS buffers for use within a script
.GetCD   X X X Get current directory
.GetCodePage   X X X Get current Code Page
.GetCols   X X X Get console Columns for the current window
.GetDate   X X X Get date in local format
.GetDirSize   X X X Get the size, in bytes, of the current directory
.GetDirSizeM     X X Get the size, in Millions of bytes, of the current directory
.GetEl   X X X Retrieve and display the current errorlevel, save the value in %#El%
.GetFree   X X X Get the available space, in bytes, on the current drive
.GetFreeM     X X Get available space, in Millions of bytes, on the current drive
.GetIPAddr   X X X Get IP Address
.GetIPGateway   X X X Get IP Default Gateway
.GetIPMask   X X X Get IP Subnet Mask
.GetLines   X X X Get console Lines for the current window
.GetLogDate   X X X Get the date as yyyymmdd, regardless of the local format
.GetLogTime   X X X Get the time as hhmnss, regardless of the local format
.GetLogTimeP   X X X Get the Precise time as hhmnsshs, regardless of local format
.GetMac       X Get hardware or Media Access Control {mac} address
.GetNic       X Get Network Interface Card {nic} Description
.GetOS   X X X Get Operating System
.GetPrompt   X X X Get system prompt
.GetRole   X X X Get Current System Role {Server or Wkstn}
.GetTempFile   X X X Get a "random" temporary file; save it's full filespec in #TempFile
.GetTime   X X X Get time in hh:mn:ss format
.GetTimeP   X X X Get Precise time in hh:mn:ss.hs format
GOTO X       Directs cmd.exe to a labeled line in a batch program.
h   X X X Hide script comments entered using ".Rem".
.HideComments   X X X Hide script comments entered using ".Rem".
.HideTempFile       X Hide the file specified in #TempFile
i   X X X Reinitialize the active library. Same as "[drive][path]NTCmdLib /Init /Quiet".
IF X       Performs conditional processing in batch programs.
.if2K   X X X conditional processing based on OS installed (Windows 2000)
.ifDC       X conditional processing for Domain Controllers
.ifDOW   X X X conditional processing based on whether DATE/T displays the Day of Week
.ifELn   X X X perform conditional processing if ErrorLevel is EXACTLY n
.ifErr   X X X conditional processing based on the current errorlevel
.ifK3   X X X conditional processing based on OS installed (Windows Server 2003)
.ifLeapYear     X X conditional processing based on if this year is a Leap Year
.ifNT   X X X conditional processing based on OS installed (Windows NT)
.ifOK   X X X conditional processing based on the current errorlevel
.ifServer   X X X conditional processing based on a Workstation or a Server OS
.ifWkstn   X X X conditional processing based on a Workstation or a Server OS
.ifXP   X X X conditional processing based on OS installed (Windows XP)
#IPAddr   X X X IP Address of the local machine; updated by .GetIPAddr
IpConfig.exe X       Display or configure TCPIP information.
#IPGateway   X X X IP Default Gateway of the local machine; updated by .GetIPGateway
#IPMask   X X X IP Subnet Mask of the local machine; updated by .GetIPMask
.IsAlpha   X X X perform Command/Program if the input is alphabetic
.IsAlphaNum   X X X perform Command/Program if the input is alphanumeric
.IsNum   X X X perform Command/Program if the input is numeric
.IsSwitch       X perform Command/Program if the input is a command line switch
.Kity   X X X Display normal output; suppress errors [Keep-It-To-Yourself]
l       X Expands to the fully qualified filespec of the active library.
.ldErrEcho     X X Echo a message, prefixed with the current LogDate (yyyymmdd) to STDERR
.ldtEcho     X X Echo a message, prefixed with yyyymmdd hhmnss to STDOUT
.ldtErrEcho     X X Echo a message, prefixed with yyyymmdd hhmnss to STDERR
$LEN   X   X Get String Length
.LibCatalog   X X X Display a "clean" list of all resources in the active Command Library
.LibConstants   X X X Display a "clean" list of all #Constants in the active Command Library
.LibFunctions   X X X Display a "clean" list of all $FUNCTIONS in the active Command Library
.LibGlobalSwitches   X X X Display a "clean" list of all /GlobalSwitches in the active Command Library
.LibGuardNotes   X X X Display a "clean" list of all !GuardNotes in the active Command Library
.LibMountCommands   X X X Display a "clean" list of all .MountCommands in the active Command Library
#libName   X X X Name of the active Command Library
.LibProcedures   X X X Display a "clean" list of all :Procedures in the active Command Library
#libResources   X X X Number of default resources in the active Command Library
#libRevBy   X X X Last revisor of the active Command Library
#libRevDate   X X X Last revision date of the active Command Library
.LibShorthand   X X X Display a "clean" list of all ?CmdShorthand in the active Command Library
#libType   X X X Library type of the active Command Library
#libVer   X X X Release Date of the active Command Library
#Lines   X X X Console lines for the current window; updated by .GetLines and /Init
.ListAvail   X X X List all available [unused and unmapped] drive letters
.ListCD   X X X List current directory for all accessible drives
.ListFree   X X X  
.ListFreeM       X  
.ListIPAddr   X X X List IP Addresses
.ListIPGateway   X X X List Default Gateways
.ListIPMask   X X X List Subnet Masks
.ListMac     X X List hardware or Media Access Control {Mac} addresses
.ListNic     X X List Network Interface Card {Nic} Descriptions
.Log   X X X Direct all normal output (STDOUT) to a specified log file
#LogDate   X X X Date in yyyymmdd format; updated by .GetLogDate and /Init
.LogDateEcho   X X X Display current LogDate (as yyyymmdd) to STDOUT
.LogErr   X X X Direct all errors (STDERR) to a specified log file
LOGONSERVER X        
#LogTime   X X X Time in hhmnss format; updated by .GetLogTime and /Init
.LogTimeEcho   X X X Display current LogTime hhmnss to STDOUT
#LogTimeP   X X X Time in hhmnsshs format; updated by .GetLogTimeP
.ltErrEcho       X Display current LogTime hhmnss to STDERR
m {prefix}       X Display a brief description for a specific group of .Mount/\Commands beginning with .prefix
#Mac       X Media Access Control or "mac" address; updated by .GetMac
man       X Display help for a specified topic (similar to Unix/Linux "man" pages)
.MarkTempFile       X Mark the file specified in #TempFile to show that it's in use
MD X       Creates a directory.
.Measure   X X X Visually measure a string using an onscreen ruler
MEM X       Displays the amount of used and free memory in your system. {DOS}
MKDIR X       Creates a directory.
Mode.com X       Configures a system device.
#MONTHS     X X Coded variable used to display and manipulate MONTHS of the year
More.exe X       Displays output one screen at a time.
MOVE X       Moves one or more files from one directory to another directory.
n {prefix}       X Display a brief description for a specific group of !GuardNotes beginning with !prefix
NbtStat.exe X       Displays protocol statistics and current TCP/IP connections
Net.exe X        
.NetDomains     X X Display a list of known domains
.NetIPAddrs   X X X Display a network list of ComputerName,IPAddress
.NetIPMacs     X X Display a network list of ComputerName,IPAddress,MacAddress
.NetMacs     X X Display a network list of ComputerName,MacAddress
Netstat.exe       X Displays protocol statistics and current TCP/IP network connections.
.NetView   X X X Display a list of machines on the local network
#Nic     X X Network Interface Card or "nic" description text; updated by .GetNic
.NowDate   X X X Display the current date
.NowTime   X X X Display the current time (no fractional seconds)
.NowTimeP   X X X Display the Precise current time (including fractional seconds)
NUMBER_OF_PROCESSORS X        
OS X       Always = Windows_NT
#os   X X X 2-character code for the operating system; updated by .GetOS and /Init
p {prefix}       X Display a brief description for a specific group of :Procedures beginning with :prefix
$PAD       X Pad a string to TotalLength with PadCharacters
PATH X       Displays or sets a search path for executable files.
PATHEXT X        
PAUSE X       Suspends processing of a batch file and displays a message.
:PCLS       X [:Parse_Command_Line_Switches] (allows shell scripts to accept switches)
Ping.exe X        
POPD X       Restores the previous value of the current directory saved by PUSHD.
#Previous_[#Constant]     X X Saved value of #Constant from the previous run
PROCESSOR_ARCHITECTURE X        
PROCESSOR_IDENTIFIER X        
PROCESSOR_LEVEL X        
PROCESSOR_REVISION X        
#Prompt   X X X Saved value of the system prompt; updated by .GetPrompt and /Init
PROMPT X        
PROMPT X       Changes the Windows command prompt.
PUSHD X       Saves the current directory then changes it.
.Quiet   X X X Suppress normal output; display only errors
RD X       Removes a directory.
.ReadBuffer[n]       X display the contents of the ADS specified in #Buffer[n]
.ReadTempFile       X Display the contents of the file specified in #TempFile
.RegDeleteKey       X Delete an entire registry key and it's data  (including all subkeys) [Use with Caution!]
RegEdit.exe X        
RegEdt32.exe X        
.RegRead   X X X Read data from the local registry
.RegReadKey       X Read data from a specified registry key
.RegWrite   X X X Save data to the local registry  [Use with Caution!]
.RegWriteKey       X Write data to a specified registry key  [Use with Caution!]
REM X       Records comments (remarks) in batch files or CONFIG.SYS.
.Rem   X X X Mark a line of code as a dynamic comment
REN X       Renames a file or files.
RENAME X       Renames a file or files.
.ReportFooter   X X X Create a footer for a status report
.ReportHeader   X X X Create a header for a status report
.RestoreCodePage     X X Restores the original Code Page if changed by a script
.RestoreCols     X X Restores the original window columns if changed by a script
.RestoreLines     X X Restores the original window lines if changed by a script
.RestorePrompt     X X Restores the original system prompt if changed by a script
.RestoreWindow     X X Restores the original window size if changed by a script
RMDIR X       Removes a directory.
#Role   X X X System Role of the installed OS; updated by .GetRole and /Init
#RULER   X X X an onscreen ruler used for fast visual measurement of a string
RunDll32.exe X        
s   X X X Show script comments entered using ".Rem"
#SAFESYMBOLS   X X X Symbols that are "mostly" safe to use in shell scripts
$SCOUNT       X String Count - count instances of SubString within String
$SEQNUM   X   X pads a number with zeros to a specified column-width
SET X       Displays, sets, or removes cmd.exe environment variables
set   X X X Internal SET command with most library resources filtered out
set-     X X Display all variables EXCEPT the specified group(s).
set+     X X Display ONLY the specified group(s) of variables.
!SETCalc   X   X !GuardNote: Using the "SET /A" command to perform math calculations
.SetEL[n]   X X X Set ErrorLevel to n
SETLOCAL X       Begins localization of environment changes in a batch file.
SetVer.exe X       Sets the version number that MS-DOS reports to a program.
SHIFT X       Changes the position of replaceable parameters in a batch file.
.Show     X X Force display of normal output [STDOUT] to the console
.ShowAll     X X Force display of all output [STDOUT/STDERR] to the console
.ShowComments   X X X Show script comments entered using ".Rem"
.ShowErr     X X Force display of error messages [STDERR] to the console
.ShowTempFile     X X Shows, or unhides, the file specified in #TempFile
:SI   /   X [:System_Info] (retrieves ServicePack, HotFixes, installed applications, etc.)
.Silent   X X X Silence all output, including errors
Smss.exe X        
Sort.exe X       Sorts files or data
.SortBuffer[n]       X Sort the contents of the ADS buffer specified in #Buffer[n]
.SortTempFile     X X Sort the contents of the file specified in #TempFile
#SPACE40   X X X 40 <spaces> "                                        "
#STAR40   X X X 40 asterisks (or "stars") "****************************************"
.StarLine   X X X Echo's 77 asterisk {or star "*"} characters
START X       Starts a separate window to run a specified program or command.
.Stat   X X X Display the current TRUE/FALSE status of all .ifCondition Mt/\Cmds
.SwitchesList     X X Display the current TRUE/FALSE status of all .if/Switch and .ifNot/Switch Mt/\Cmds
.SwitchesOFF     X X Set to FALSE all switches contained in variable %Switches%
.SwitchesON     X X Set to TRUE all switches contained in variable %Switches%
.SwitchesReset     X X Remove all .if/Switch and .ifNot/Switch Mt/\Cmds from memory
.SwitchesToggle     X X Reverse the status of all switches specified by %Switches%
SystemDrive X        
SystemRoot X        
#TAB   X X X a single TAB character; used for clarity in scripts
TEMP X        
#TempFile   X X X Full name of a "random" temporary file; updated by .GetTempFile
.tErrEcho     X X Display current time to STDERR
TIME X       Displays or sets the system time.
TIME /       TIME variable (not available in Windows NT 4)
#Time   X X X Time in hh:mn:ss format; updated by .GetTime and /Init (NT/2K/XP/K3)
#TimeP   X X X Precise Time in hh:mn:ss.hs format; updated by .GetTimeP (NT/2K/XP/K3)
.TimeEcho   X X X Display current time in local format
.TimeSync   X X X Synchronize local time with a remote computer
TITLE X       Sets the window title for the command prompt window.
TMP X        
.TouchTempFile     X X Touch the file specified in #TempFile to show it's in use
TraceRt.exe X        
Tree.com X       Graphically displays the folder structure of a drive or path.
TYPE X       Displays the contents of a text file or files.
u   X X X Uninstall the active library. (also unloads all COMMAND SHORTHAND)
.UnderLine   X X X Echo's 77 underscore "_" characters
#UNDLN40   X X X 40 underscores "________________________________________"
#UPPER   X X X 26 letters of the alphabet - UPPER CASE; space-delimited
USERDOMAIN X        
USERNAME X        
USERPROFILE X        
VER X       Displays the Windows version.
VERIFY X       Tells cmd.exe whether to verify that your files are written correctly to a disk.
VOL X       Displays the disk volume label and serial number, if they exist.
.Wait   X X X pause execution of a script - not processor intensive; requires TCPIP
$WAITFOR       X Wait for specified amount of time, then execute a specified command
windir X        
.WriteBuffer[n]       X Write all output to the ADS buffer specified in #Buffer[n]
.WriteTempFile     X X Write all output to the file specified in #TempFile
XCopy.exe X       Copies files and directory trees.
.ZeroFile   X X X clears the contents of a file without deleting it (supports Alternate Data Streams)
           
           
           
           
           
           
           
/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON