Batch File Programming
DOS Batch Solutions #1
DOS Batch Solutions #2
DOS Batch SQL Backup Program
Index [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
|Summary:||Batch file mouse + ANSI screen control,|
|Download:||a-r10.zip(Oct 28 1994, 17K)|
|Summary:||File/list processor like DOS For. EVAL|
|Download:||allu224.zip(Dec 11 1999, 121.4K)|
|Description:||The ALL utility processes lists of file names and other input data in a|
variety of ways. ALL can manipulate and/or execute input records received via a pipe,
from an input file, or from the console.
The ALL utility enables you to execute one or more operating system
commands on all files in a given list of files. Single file
specification portions may be used and manipulated for flexible
Optionally, ALL creates a command file containing commands as well as
user input required by interactive kinds of programs.
In addition to creating command files ALL can also produce a normal data
file. Thus you can also use it to perform different kinds of textual
transformations on files.
Programs as well as user defined fields found in the records of the
input file can be used to construct commands for execution or to produce
data files. In this respect, ALL can be a faster and easier to use
substitute for programs such as AWK or Perl whenever its more limited
facilities are sufficient for your purposes.
This ALL evaluation kit will not process more than 50 input records in
a single run. Thus you have a fair chance to test it and see whether it
meets your needs.
|Summary:||Write BAT files to change colors/function keys|
|Download:||ansmat10.zip(May 18 1991, 73.6K)|
|Summary:||Ricki's enhanced SET command|
|Download:||aset10.zip(May 4 1993, 78.4K)|
|Summary:||Timed Ask from BAT w/config. errorlevels|
|Download:||ask3.zip(Dec 10 1986, 16.4K)|
|Summary:||Asks questions in BATch file, w/timeout, w/src|
|Download:||ask11c.zip(Mar 8 1994, 14.6K)|
|Summary:||Timed response to Y/N prompts in .BAT files|
|Download:||ask_bat.zip(Feb 15 1989, 14.6K)|
|Summary:||Batch file utility to prompt for Y/N question|
|Download:||askmep.zip(Jul 1 1992, 24.4K)|
|Summary:||Runs 1 of batch files randomly|
|Download:||autornd4.zip(Aug 10 1994, 25.4K)|
Index 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
|Summary:||Converts BAT files to EXE files|
|Download:||bat2ex15.zip(Aug 9 1991, 33.1K)|
|Summary:||Comprehensive collection of Batch programs|
|Download:||batch13.zip(Apr 7 1996, 122.1K)|
|Summary:||Batch Enhancer: Menus, Mouse, Hotkeys, Colors|
|Download:||pbatch12.zip(Jul 15 1994, 83.8K)|
|Summary:||Batch Secrets: Elementary color/key text info|
|Download:||batsec.zip(Mar 2 1992, 11.2K)|
|Summary:||A well written article on Batch files|
|Download:||batchart.zip(Apr 28 1988, 31K)|
|Summary:||Do DOS cmd /w file selection from BATCH file|
|Download:||batchsel.zip(May 24 1991, 7.8K)|
|Summary:||Converts DOS batch file to Unix C shell script|
|Download:||batcsh12.zip(Jun 14 1996, 32.6K)|
|Summary:||Debugger/editor for Batch files|
|Download:||batdbg14.zip(May 13 1995, 107.6K)|
|Summary:||Collection of hints on using BATch files|
|Download:||bathints.zip(Jan 4 1989, 38.9K)|
|Summary:||Batch file utils including a powerful GetKey|
|Download:||batkit57.zip(Sep 13 1996, 86K)|
|Summary:||Scrollable menus/windows in DOS batch files|
|Download:||batmen.zip(Jun 27 1989, 28.6K)|
|Summary:||Batch file menus w/point-and-shoot & windows|
|Download:||batmnu21.zip(Jul 10 1992, 33.7K)|
|Summary:||Full screen pop-up pause/answer for BAT files|
|Download:||batscrn.zip(Jun 8 1991, 20.4K)|
|Summary:||BATutil: Execute cmd if given time has passed|
|Download:||every15.zip(Jan 26 1992, 10.6K)|
|Summary:||Manipulate environment/get input in BAT files|
|Download:||batutil1.zip(Mar 23 1990, 187.4K)|
|Summary:||Batutl: Counts down, allowing user to bail out|
|Download:||waiter.zip(Mar 3 1993, 9K)|
|Summary:||BATutl: Search drive/path/volume return errlvl|
|Download:||dpv12.zip(Dec 6 1990, 9.5K)|
|Summary:||Search .BIN screens & extract current screen|
|Download:||bav121.zip(Jul 19 1996, 162.3K)|
|Summary:||Wenham's BATCOM-compiled .BAT source code|
|Download:||bcsrce2.zip(Feb 21 1991, 123.5K)|
|Summary:||Batch Editor, edit files in batch|
|Download:||bed11.zip(Dec 7 1985, 55.7K)|
|Summary:||Display 10-char msg in block characters|
|Download:||bigecho1.zip(Apr 4 1995, 17.9K)|
|Summary:||41 miscellaneous batch utilities|
|Download:||blrmu22.zip(Nov 10 1996, 89.4K)|
|Summary:||Pop-up menu system for use in batch files|
|Download:||bmenu54.zip(Feb 11 1990, 20.8K)|
|Summary:||bOOtDrive: Drive you booted from to ERRORLEVEL|
|Download:||bdrive01.zip(Nov 22 1996, 4.8K)|
|Summary:||Draws boxes around text in BAT files|
|Download:||box12.zip(Nov 16 1996, 6.9K)|
|Summary:||Corrects COMMAND.COM problem w/MARK & RELEASE|
|Download:||btchroom.zip(Dec 14 1990, 3.8K)|
Index 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
|Summary:||CALL command emulator for DOS < version|
|Download:||callbat.zip(Dec 20 1992, 11.8K)|
|Summary:||Audible & visual alarm for ending a long batch|
|Download:||catsig.zip(Oct 24 1991, 24K)|
|Summary:||Enhanced CD ChDir command sets ERRORLEVEL|
|Download:||cdbng12.zip(Nov 16 1996, 11K)|
|Summary:||Check for modem carrier detect in BAT files|
|Download:||cdtect.zip(Apr 4 1988, 2.3K)|
|Download:||cenvi211.zip(Feb 23 1996, 496.1K)|
|Summary:||Cmdline util to report on system; errorlevels|
|Download:||check160.zip(Jul 21 1992, 20.8K)|
|Summary:||Check current time / date and set errorlevel|
|Download:||chktd15.zip(Nov 29 1992, 12.4K)|
|Summary:||Ask multi-level questions in batch files|
|Download:||choice17.zip(Mar 9 1990, 41.8K)|
|Summary:||Various functions, 40 utils|
|Download:||cutpak12.zip(Dec 7 1997, 311.9K)|
Clay's Utility Pack v1.2 is a collection of DOS batch and command line utilities. For example: FILEINFO and FILEDATA get internal file info from Windows program modules. ENVMASTR reads/edits environment variables of any running DOS program and reports environment size, usage, and free bytes. OCOPY is an overwriting file copier; NetWare-aware and share- aware, it can copy a file that is in use, and it can copy hidden and system files. INIMOD and INIREAD do batch editing and interpretation of INI files. XCHANGE (Extended Change) does global search-and-replace for text and binary files, replacing a string with another string or with the content of a file. YANK, for text files, similarly replaces a whole line containing a seekstring.
Includes 40 programs in all.
|Summary:||Clear 'n' keystrokes from keyboard buffer|
|Download:||clrkey13.zip(Nov 29 1992, 10K)|
|Summary:||Countdown from n minutes, returning ERRORLEVEL|
|Download:||cntdwn1.zip(Feb 14 1993, 5.5K)|
|Summary:||Makes diskette copies|
|Download:||copyii10.zip(Dec 20 1999, 1.4K)|
Copy II v1.0 preforms a certain diskette copy function. It copies all
files on one floppy diskette (A: ) to files on another diskette (A: ).
This also works with Windows 95 and Windows 98. Useful for making
several copies of documents and backups of files. Will work with
MS-DOS 5.0 and later versions.
|Summary:||Execute specified command after 'n' executions|
|Download:||countfil.zip(Feb 12 1992, 5.6K)|
|Summary:||Split Filename/Ext in *.BAT line parameters|
|Download:||cutprm10.zip(Mar 3 2000, 6.2K)|
This program will split one of the command line parameters of the batch
file. It works in DOS system or console. Its cutting character
defaults the period '.' so that it splits a filename parameter into its
name and its type (extension). If the third parameter is "test.asm",
the command "CUTPARAM 3" will set the third parameter to "test" and
insert a 4th parameter "asm". The former 4th and following parameters
are shifted to the 5th and following ones. You can choose any other
cutting character for example a '_' to split a parameter like
"proj_001.prj" into "proj" and "001.prj".
CutParam can be handy for those who use command line compilers, linkers,
installation or backup batch processes, etc., or those who would like to
extend the automatic effect of some extension linked application
starter. You do not need to supply your filename manually without a
*.BAT file extension if it was asked to.
If you call cutParam in a batch file you can cut this extension off and
use the name of the file without the extension to produce other files
with the same name but with other extension(s). You can also use the
extension alone to perform extension dependant process.
Free. Uploaded by:
Index 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
|Summary:||Display date & time for logging, w/ASM source|
|Download:||dat13c.zip(Mar 8 1994, 11.9K)|
Date Check Pro
|Download:||dtckp161.zip(Jan 4 1997, 58.4K)|
Date Check 1.61 will manage the maintenance on your computer that everyone seems to put off or forget. When run, it will execute various batch files that the user can create according to the basis you want to run it. You can run Daily, Monthly, Weekly, Yearly, on any Date or Day, or even create your own interval. It also has a "Semaphore" mode, which, instead of running batch files, it creates semaphore files, perfect if you run a BBS. It also will restrict it's running to before or after a specific time.
|Summary:||Date reminder pgm for AUTOEXEC/Win3.1 startup|
|Download:||dateinfo.zip(Jun 7 1993, 16.6K)|
|Summary:||Create batch files to act on files by date|
|Requires:||DOS 5.0 or later.|
|Download:||dateli11.zip(Feb 3 1997, 47.9K)|
The purpose of the program is to create a file-listing of files created on a specific date or range of dates and optionally to create a batch file to operate on each of the aforesaid files. The utility of these functions is first to enable user knowledge of files stored on specified dates in unknown locations (such as those created by file self-extractions or via www browsers, Windows setups, Installations, BBS downloads, etc.) and second to backup, zip or otherwise act upon such files as the DOS operating system command set and the user's personal utilities allow.
|Summary:||Warns you in advance of birthdays, etc|
|Download:||dates812.zip(Dec 29 1998, 90.8K)|
Dates.exe: Program that warns you in advance when an event like a
birthday, anniversary, or holiday is coming up. The idea is to give you
advance warning so you can send a card or get out of town in time.
|Summary:||Draws double boxes around text in BAT files|
|Download:||dbox12.zip(Nov 17 1996, 7K)|
|Summary:||Enhanced DEL erase command|
|Download:||delbng12.zip(Nov 17 1996, 11.2K)|
|Summary:||Determines all logical drives on PC|
|Download:||dexist10.zip(May 13 1995, 5.9K)|
|Summary:||Powerful interactive batch utility - Freeware|
|Download:||do21.zip(Jan 4 1995, 40.9K)|
|Summary:||Adds window menus to any batch file|
|Download:||domenu13.zip(Nov 11 1991, 5.3K)|
|Summary:||Default drive to ERRORLEVEL|
|License:||Freeware. (Totally free for private persons), governmental and busines|
|Download:||drives01.zip(Dec 20 1996, 5.7K)|
dRIVES v0.01 is a batch utile that checks which drive is the default drive and returns it in exit codes. If You want something to happen in your batch files when a drive is the default one then use dRIVES. dRIVES will check for the default drive and return exit codes that You can use with 'if errorlevel = x goto label' in Your batch files. Beyond this dRIVES can set the default drive. I have also made dRIVES able to check how many logical drives there is on a system but however this is not working very well right now.
|Summary:||String manipulation functions for batch files|
|Download:||dv_st200.zip(Dec 31 1994, 95.4K)|
Index 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
|Summary:||Extended Batch Language version|
|Download:||ebl405.zip(Mar 14 1991, 48.8K)|
|Summary:||ECHO/SET-like utils,include sundry system info|
|Download:||echsys10.zip(Sep 24 1989, 31.2K)|
|Summary:||Set errorlevel to value on cmd line, w/C src|
|Download:||el.zip(Oct 3 1990, 2.9K)|
|Summary:||Set errorlevel in .BAT files w/ASM|
|Download:||elf11.zip(Nov 22 1992, 134K)|
|Summary:||Allows batch files to be interactive|
|Download:||enqr-25.zip(May 19 1994, 6.4K)|
|Summary:||Set an environment variable in batch files|
|Download:||envset10.zip(Aug 25 1989, 6.7K)|
|Summary:||Set DOS envir. variables based on system clock|
|Download:||envtime.zip(Dec 31 1992, 11.5K)|
|Summary:||38 new batch commands|
|Download:||envy100.zip(Aug 28 2000, 27.1K)|
Envy is a batch file enhancement utility for MS-DOS, Win95, Win98, NT
batch files. Envy will work under Windows NT/2000 if command.com is
used as the batch processor.
Envy is a stand-alone program that provides 38 new subcommands for use
in batch files (spanning string-manipulation, mathematics, bitwise
operations, comparsions, date & time functions, random numbers, file
I/O, and text parsing).
Envy is able to alter environment variables in the parent command.com
environment, greatly simplifying many programming tasks which must be
accomplished via a batch file.
Envy is well-suited to address frequent problems such as needing to
build a filename or directory name from the current date as well as
handling the "<" and ">" character processing inside a batch file.
|Summary:||Set the DOS errorlevel (return code)|
|Download:||errlvl13.zip(Nov 29 1992, 9.9K)|
|Summary:||Echo With Colorfor DOS batch programs|
|Download:||ewc120.zip(Jul 9 2000, 24.2K)|
EWC is used in batch programs for DOS and in DOS windows of Windows
95/98/NT. It works similar to the ECHO command, however, using
replacement parameters it is possible to send specific characters
and colors to the screen. In addition, several new functions are
introduced. The program makes use of the BIOS functions. Redirection
of outputs (into a file instead of the screen) is not possible. All
characters (including control characters like CR, LF, ESC, TAB, FF,
BEL) are sent as characters to the screen. The number sign # is used
to start replacement parameters. % parameters can be used in the same
way as with the ECHO command.
|Summary:||Check existence of files and subdirectories|
|Download:||existdir.zip(May 18 1992, 5K)|
|Summary:||Exit batch file at specified time|
|Download:||exittime.zip(May 9 1989, 33.5K)|
Index 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
|Summary:||Date manipulation utility for batch files|
|Download:||fdate91c.zip(Apr 6 1996, 74.3K)|
|Summary:||Age of file in mins, hours, days as errorlevel|
|Download:||fileage.zip(May 3 1995, 37.1K)|
|Summary: Find Tools|
Download: find23.zip (9K)
|Description: ||XFIND scans files for a string (optionally in all subdirectories), and reports all files where the string was found.|
Example: XFIND "anything" C:\some\where\*.TXT *.DOC *.ASC /s > result.txt
Any file type can be scanned; string may include decimal ASCII codes
Several file name patterns (wildcards) supported
Reported files optionally with relative path (i.e. only subdirectory names), or with LFN's (relative or full path)
Output lines can be prefixed with custon string
Case ignored by default, case sensitive search by option
TFIND scans a single file, and reports all lines where the given strings were found (Boolean AND).
A FOR loop can be used to scan several files.
Example: TFIND "this" "that" TEST.TXT > result.txt
The search can be limited to a field in a fixed field (column oriented) list
Alternative errorlevel with number of hits (max. 254)
Input file from STDIN supported
Inverted output (all lines without hits)
Line size up to 2Kb; file size not limited
File name headers (with specified or relative path, LFN's) only by option; custom prefix;
Special search mode where only letters and digits are relevant (option)
Case ignored by default, case sensitive search by option
Notes: LFN's supported under Win9x/2000; Upper/lower case table can be patched thru Debug script
|Summary:||Fine-tunes DOS FOR command w/options|
|Download:||fortn708.zip(Oct 12 1997, 88.3K)|
FORTUNE.EXE: A tuner-upper for the DOS FOR command. Generates a batch file which does all those wildcard things you wished FOR could do (like "FORTUNE IN (*.BAS) DO RENAME %A %2*.*" to remove parts of file names). Lets you do all sorts of things including distinguishing file name roots from their extensions as well as incrementing file names by specified values.
|Summary:||Batch file ask, input F1-F10 function key ans.|
|Download:||funky.zip(Feb 19 1993, 5.9K)|
Index 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
|Summary:||Graphic Batch Enhancer - Fully Functional|
|Download:||gbe2a.zip(Aug 7 1996, 398.9K)|
|Summary:||BATch enhancer inputs from user, DOS, environ.|
|Download:||get24.zip(Nov 2 1991, 65.7K)|
GET KEY .02
|Summary:||GET KEY .02: Symbolic implementation of CHOICE|
|Download:||getk002.zip(Apr 5 1996, 22.3K)|
|Summary:||Put day of the week into DOS envir. variable|
|Download:||getday10.zip(Dec 4 1993, 9.1K)|
|Summary:||GetKey batch file keypress utility|
|Download:||getkey11.zip(Dec 6 1993, 11.4K)|
|Summary:||Sets ERRORLEVEL if file too big|
|Download:||grade13.zip(Nov 17 1996, 11.4K)|
Index 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
|Summary:||Returns to start DIR in batch files|
|Download:||hmrhm11b.zip(Dec 21 1990, 10.4K)|
|Summary:||Like DOS' PAUSE w/timeout & errorcode w/srcTP|
|Download:||holdit10.zip(May 4 1993, 6.7K)|
Index 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
|Summary:||Makes If-predicatiton bigger/smaller than|
|Download:||ifnumber.zip(Dec 21 1999, 5.8K)|
The MS-DOS command "if" cannot do numeric predicatiton like bigger than,
smaller than, bigger equival than or smaller equival than. Ifnumber.exe
can. It returns an errorlevel for batch programming.
|Summary:||An input command for batch files|
|Download:||input10.zip(Mar 3 1997, 41.1K)|
Input v1.0 is a input command for batch files. It allows the power of retriving infomation from an user from within a batch file. It is simular to BASIC's input or C's scanf or Pascal's readln. It is a command line program and if you do not give the minimum nuber of arguments then the on-line help pops up and shows you the proper usage for the program. It could be useful for people who write batch files in networking. It is compiled for MS-DOS compatible platforms.
|Summary:||Input/menu to ERRORLEVEL|
|Download:||inputr02.zip(Apr 18 1997, 9K)|
iNpUTer v0.02 is a utility that returns user input in exit codes and builds batch menus. Allows a batch file to do something when a key is pressed or when something is selected from a menu built with iNpUTer. iNpUTer will get the user input and return exit codes that you can use with 'if errorlevel = x goto label' in your batch files.
|Summary:||Execute DOS/BIOS interrupts from command line|
|Download:||int11.zip(Mar 23 1992, 6.3K)|
|Summary: Compares Dates|
|Description:||IsDate compares two dates, including date tags of files and directories, TODAY. Date format acc. to COUNTRY. Optional difference (plus/minus days).|
Example: IsDate C:\arc\foo.txt before today-7
The result (TRUE/FALSE) is returned by errorlevel.
LFN support (Win9x/2000/XP)
Comparison operators: [not] =, equal, before, after
Default or custom date format
Internal calculation of day count since Jan 1, 1901 (up to 2079)
Index 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
|Summary:||Extended batch file decision maker|
|Download:||jumpext.zip(Jun 20 1989, 12.7K)|
Index 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
|Summary:||Control batch file decision making from keybd|
|Download:||keychk11.zip(Jun 28 1993, 7K)|
Index 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
|Summary:||Line & List Modification|
|Description:||LMOD extracts data from an input source (STDIN): from redirected DOS screen output, for example, or from any (ASCII) file. The extracted information is inserted into a given text or command string, and sent to STDOUT for redirection into a file. You may extract a complete line, a part of it (starting column, size) or words (by number), even several items from a source line in any order. And this will be done either for a single line, or for a given range of lines of the input source. What you can do with LMOD: |
set environmental variables with information from (DOS) screen output
get keyboard input
generate a command using extracted input data
generate a list of commands for each item of a given (file) list
extract (and modify) range of lines from a file
modify lists or tables, arrange columns
To set a variable: generate a SET command (or WINSET / SETX), and execute it thru a temporary batch file. This method also works under Windows NT/2000.
change case for extracted data
tabs (to given column) for formatted output
right aligned fields (numeric data in tables)
insert CR+LF to generate several lines for each input line
omit CR+LF at end of output (to append later)
insert line number (to generate filenames, for example)
insert special characters by code number or in quoted string
Index 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
|Summary:||Construct MENU Batch files automatically|
|Download:||makemenu.zip(May 7 1989, 83.7K)|
|Summary:||Self maintaining menu utility|
|Download:||makmnu18.zip(Nov 29 1992, 24K)|
|Summary:||Multifunction menu program written in batch|
|Author:||Mark David Bowman|
|Download:||markmenu.zip(Sep 25 2000, 71.9K)|
Photo.bat/Markmenu is a batch file that I have been adding to since
late 1995. Originally, it was only meant to take a snapshot of the
computers system files, and a few other things but has turned into a
multi featured program. When I first wrote it, it was only 1000 bytes
long, and had no options. Now, it has a whole bunch of options.
Some of the features include:
A menu program, that can load its own config files.
A console that allows you to type in commands
A (crude) dialer program
Built in debugging features
Built in memo "email" system (it's not really email in the sense
that you can email other people on other computers. It's more like a
local message center.
|Summary:||Creates batch files which present nested menus|
|Download:||menu0891.zip(Aug 5 1991, 16.1K)|
|Summary:||Write cmd strings to console w/escape interp.|
|Download:||mfwrite.zip(Oct 24 1990, 10.2K)|
|Summary:||MicroMacroBat, extends functionality of BATs|
|Download:||microbat.zip(Jan 19 1991, 12.9K)|
|Summary:||Set unique file names for batch processing|
|Download:||mn_st101.zip(Dec 31 1994, 28.8K)|
|Summary:||Menus in batch files? Freeware|
|Author:||Robert S Harris|
|Download:||mnu9808.zip(Oct 19 1998, 6.2K)|
This is hardly new, but I never did find one that offered user interface
that would respond to either the arrow keys and return or item number or
items initial letter. In short, the way they work in real applications.
This one does.
|Summary:||Ask user for input in a batch file. w/ASM src|
|Download:||ms_ask.zip(Oct 5 1992, 3.1K)|
|Summary:||MTWIN: INI - GRP file manager DOS|
|Download:||mtwdo218.zip(Aug 4 1995, 144.9K)|
|Summary:||Nifty Fifty: 50 DOS utilities for batch files|
|Download:||nfty50.zip(May 22 1996, 93.3K)|
|Summary:||Time & Date utility for batch files|
|Download:||now-1v02.zip(Jun 11 1999, 22.6K)|
NOW 1v02 is a DOS command line utility. It accepts a command line as a
parameters and substitutes embedded special strings with data derived
from the current date and time.
NOW DIR *.TXT ">" [yr]-[mo]-[dy].DIR will generate a file called
99-11-13.TXT (if run on 13th November 1999).
NOW ECHO CREATED ON [day] [dy] [month] [year] AT [hh]: [mm] ">>" LOGFILE
will append "CREATED ON Saturday 13 November 1999 AT 16: 59" into the
There are no known problems with the Year 2000 provided that the PC and
DOS are Y2K compliant.
Index 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
Index 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
Index 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
|Summary: Horst's PBATS - Batch Tools|
Description: This is an archive of tiny batch tools that have been around for several years.
Note: NSET, COUNT and INPUT do not work under Windows NT/2000/XP.
Variables, Output Handling
NSET 2.1 pipe data from STDIN into an environmental variable
LISTMOD 2.3 make list of commands from input list
LOGECHO 2.1 custom entries for logfiles, with enhanced date handling
QECHO 1.3 "quote echo" with control codes, defaults without CR/LF
COUNT 1.0 Count, add, subtract (variable), fixed length option
FPATH 1.1 locate path of program file, optional ChDir
RANDOM 1.1 random number (given range) to STDOUT
EVERY 1.0 run jobs once a day / on specified days of week
DREADY 2.2 disk(ette) ready?, optional check "ready to write"?
PCHECK 1.1 checks if (parallel) printer is ready, optional reset
ESPACE 1.2 environment variable space report/check with errorlevel
KPUSH 2.0 stuff keystrokes into keyboard buffer, code test mode
CHOIX 1.1 CHOICE Clone with mouse support
INPUT 1.2 string input, editing of existing variable..
ISDATE 2.2 compare date (also file date, today)
TIMENOW 1.0 is current time within given period(s)?
WAIT 1.4 wait with prompt, key by errorlevel
WHAT 1.0 hour/minute/year/month/day/day of week by errorlevel
CRLF 1.3 convert: lines to be terminated by CR+LF, CR or LF
LINEX 1.2 extract [multiple] range of lines from ASCII file
DELAGE 1.3 delete/report files by age (days)
CRC32 2.1 report and check CRC32, optional list processing
LOGTRIM 1.7 trim logfiles (min/max KB)
BANNER 1.2 big font looping message
BIGFONT 1.0 display big characters (4 lines high), round pixels
CSOUND 2.2 sound output to PC speaker / resident beep replacement
WAIT4 1.4 wait for/until with large "digital clock", options
PACO 1.2 executable COM file archive (run with prefix)
|Summary:||PowerBatch: Compiles batch-like files to EXE|
|Download:||pwrbt14j.zip(May 25 1991, 135.4K)|
|Summary:||Set of small batch files, some w/special reqs.|
|Download:||pua12.zip(Feb 28 1996, 25.2K)|
|Summary:||PUADOS: Set of batch files for DOS|
|Download:||puados12.zip(Apr 5 1996, 22.9K)|
Index 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
Index 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
|Summary:||Use RAM for Batch files, save hard disk space|
|Download:||rambat1.zip(Mar 21 1992, 5.4K)|
|Summary:||Randomly selects a file from a wildcard|
|Download:||rand_100.zip(Aug 2 1994, 20.7K)|
|Summary:||RAP: Powerful Batch programming language|
|Download:||rap101.zip(May 7 1992, 210.3K)|
|Summary:||Reminds you of birthdays, etc.|
|Download:||remi156.zip(Apr 28 1997, 48.4K)|
Reminder is a highly configurable program which reminds you of birthdays, appointments and other events. Reminder is designed to be placed in the autoexec.bat, so it'll be run every time you turn on your computer.
|Summary:||Disk removability to ERRORLEVEL|
|Download:||remo03.zip(Aug 25 1997, 7.3K)|
rEmOvable v0.03 is a batch utility that checks wherever a disk is removable or not and returns it in exit codes. If you want something to happen in your batch files when they encounter a removable disk then use rEmOvable. rEmOvable will get the removability of a disk and return exit codes that you can use with 'if errorlevel = x goto label' in your batch files. Beyond this it can go TSR and simulate all drives as non-/removable. Useful if you want Windows 3,x to have its swap file on a removable medium.
|Summary:||Presses the reset button and/or CTRL+ALT+DEL|
|Download:||reset23.zip(Nov 29 1992, 9.7K)|
|Summary:||.BAT files for auto-return to starting drv/dir|
|Download:||returnto.zip(Apr 5 1993, 2.2K)|
|Summary:||Ring console bell, optionally on error, w/src|
|Download:||ring14d.zip(Mar 8 1994, 13.7K)|
|Summary:||Multi-function batch enhancer by Ron Bemis|
|Download:||ronset25.zip(Aug 17 1990, 59K)|
Run Batch Run
|Summary:||Guide to creating batch files|
|Download:||rbatch15.zip(Apr 19 1998, 285.3K)|
This is "The Run Batch Run Book", a comprehensive collection of batch programs, a guide to Batch enhancers, useful MS-DOS utilities and where on earth you can find them, version 1.4. It's written for the beginners, for those who has been working with MS-DOS for awhile and for the experienced user that needs a reference manual to improve their own programs and for those who are looking for new ideas. This book is meant to be a tutorial and reference and is divided into chapters, so that you can find the information you are looking for. It's written in ASCII text and it's suitable for sending it to a printer. This version is distributed in English.
|Summary:||Run command against each file in a given list|
|Download:||runat10.zip(Aug 24 1991, 9.2K)|
Index 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
|Summary:||Asks question in BAT file, returns errorlevel|
|Download:||sask135.zip(Apr 25 1992, 12.5K)|
|Summary:||Save current path setting to a batch file|
|Download:||savpth13.zip(Nov 29 1992, 12.2K)|
|Summary:||Save/restore current text screen contents|
|Download:||savscr27.zip(Nov 29 1992, 13.4K)|
|Summary:||SAY!: Echo for control chars|
|Download:||saybng14.zip(Nov 18 1996, 11.1K)|
|Summary:||Screen mode to ERRORLEVEL|
|License:||Freeware. (Totally free for private persons), governmental and busines|
|Download:||scr01.zip(Dec 27 1996, 6.1K)|
sCREENS is a batch utility that checks the screen mode and returns it in exit codes. If You want something to happen in your batch files when a screen mode is present. sCREENS will check the screen mode and return exit codes that you can use with 'if errorlevel = x goto label' in your batch files. Beyond this sCREENS can set the screen mode.
|Summary:||Return screen type in use|
|Download:||scrtyp13.zip(Nov 29 1992, 12.1K)|
|Summary:||Pass a file as a parameter from a BATch menu|
|Download:||select01.zip(Oct 28 1993, 9.3K)|
|Summary:||Set environment variables from .BAT file|
|Download:||setenv13.zip(Sep 26 1989, 21.2K)|
|Summary:||Silicon Frog Batch Utilities, 1 of 3|
|Download:||sfbudocs.zip(Jan 1 1991, 68.1K)|
|Summary:||Silicon Frog Batch Utilities, 2 of 3|
|Download:||sfbupgms.zip(Jan 1 1991, 257.5K)|
|Summary:||Silicon Frog Batch Utilities, 3 of 3|
|Download:||sfbushow.zip(Jan 1 1991, 199K)|
|Summary:||Sleep for specified period|
|Download:||sleep25.zip(Nov 29 1992, 11.6K)|
|Summary: Batch util sleeps until event occurrence.|
|Author: John R. Souvestre (1997).|
| Download: sleep_47.zip|
|Description: ||A very flexible command line tool for scheduling events; intended for batch files.|
From the docs:
The possible events are: FOR a length of time, TILL a certain time, a question ASKed of the user, certain FILESPECS appear or disappear, the UPS is active, or a SCHEDuled event. Commands can be combined. Sleep is DOS, DesqView (uses DV System Memory), OS/2, and Windows aware.
Usage: INDIRECT COMMAND FILE.Sleep "@"<file>
- Sleep will accept an indirect command file. Multiple lines can be used and command files can be nested. The resulting command line must be under 16K.
- Sleep takes up to 100 filespecs, with paths and wildcards. Sleep will exit when any of these filespecs is created (+) or deleted (-). If also prefixed by "&", the conditions for those filespecs are ANDed rather than ORed.
- Serial and parallel port monitoring: Sleep outputs a byte to the port's control register, then monitors the port's status register, looking for the presence (+) or absence (-) of a bit or bits.
- Scheduled events can stored in a file which contains one line per event. Sleep returns the error level of an event when it occurs.
- Sleep can also be called to return an error level based on the date or time.
- The cursor keys can be used to modify time remaining.
FOR syntax............Sleep for [[hh":"]mm":"]ss
TILL syntax...........Sleep till [[hh":"]mm":"]ss
ASK syntax............Sleep ask '<prompt string>' <responses>
FILESPECS syntax......Sleep ["&"]"+"|"-"<filespec> ...
PAR and SER syntax....Sleep par|ser <port adr> <out> "+"<in> "-"<in>
SCHED syntax..........Sleep sched <file>
No documentation type
SLEEP /? for extended help screens.
|Summary: ASCII File Sort|
Download: sortxl31.zip (4K)
|Description:||SORTXL will sort large ASCII files - faster than SORT.EXE (WIN9x) - and runs on any PC with DOS 3.3 or better.|
Up to 8 sort criteria (fields) may be specified, each ascending or descending. This makes it easy to sort by date MM/DD/YYYY, for example, in a single pass.
Case ignored, special characters handled according to DOS sort table.
|Summary:||19 options to add Sparkle to batch files|
|Author:||Rob Smetana, Pro~Formance|
|Download:||sparkl42.zip(Dec 22 1997, 110.4K)|
Sparkle will add a little sparkle to your day or to your batch files. Menu Magic helps you create scrolling bar menus, and even writes your batch files for you.
Sparkle is a small program to provide many utilities useful in batch files, at the DOS command prompt, called from within other programs (via "shell"), etc. Sparkle is so flexible and easy to use, that many people have thrown away their complex menuing programs and use Sparkle-driven batch files. Sparkle offers:
* Menus: 3 different types of menus in batch files, including
scrolling bar menus with mouse support.
* Sound Effects: over 35, attention-getting sounds.
* Big! Font: Display messages 8-lines high, in any color.
Big! Scroll: Scroll tall messages across the screen.
* Windows: 250+ frame styles; with or without shadows,
exploding or not, in any color.
* Quick Print: Print text anywhere on the screen in any color.
* Pause: Pause from 1/3 second to several minutes.
* Prompts: Dynamic prompts to stimulate a key-press.
* Unusual Colors: Dark Blue and Bright Backgrounds.
* Fades: Dramatic fade-outs (screen transitions).
|Summary:||Winchester Computer Systems SuperBat utilities|
|Download:||sprbat3b.zip(Apr 30 1990, 32.7K)|
|Summary:||Batch & screen-save utilities w/mouse input|
|Download:||sputils.zip(Feb 26 1991, 94.8K)|
|Summary:||Steenburgh's Stuff batch utilities|
|Download:||sstuff31.zip(Apr 22 1996, 301K)|
|Summary:||Place keystrokes in keyboard buffer -- BAT aid|
|Download:||stackey3.zip(Mar 24 1990, 108.6K)|
|Summary:||Stuff keys into the keyboard buffer. Non-TSR|
|Download:||stfkey15.zip(Nov 29 1992, 12.1K)|
|Summary:||Adds 70 string handling functions to BAT files|
|Download:||string25.zip(Oct 18 1996, 74.9K)|
|Summary:||SW: BATCH file enhancement utility|
|Download:||sw_42a.zip(Jun 17 1993, 52.7K)|
Index 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
|Summary:||Execute two programs in sequence|
|Download:||tcha103.zip(Jul 20 1996, 111K)|
|Summary:||Unix-like expression test utility, w/C src|
|Download:||test.zip(Apr 14 1994, 14.1K)|
|Summary:||Controls batch files through error codes|
|Download:||testif.zip(Oct 28 1990, 11.4K)|
The Secrets of Batch files
|Summary:||The Secrets of Batch files: Color and macros|
|Download:||secbat.zip(Aug 17 1992, 67.8K)|
|Summary:||Display current date & time on standard output|
|Download:||timestmp.zip(Jan 15 1990, 54.2K)|
|Summary:||Return disk free space as ERRORLEVEL|
|Download:||toadfr12.zip(Apr 25 1991, 3.7K)|
|Summary:||TurboBAT: Compiles DOS batch file to .COM file|
|Download:||tbt324.zip(Apr 6 1996, 49.8K)|
Index 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
|Summary:||UniNova Batch Utilities Freeware bundle|
|Download:||ubu_100.zip(Mar 16 1996, 52K)|
|Summary:||Check if specified drive is ready|
|Download:||unicda15.zip(Oct 23 1993, 10K)|
|Summary:||Return DOS errorlevel based on day of week|
|Download:||unirdw15.zip(Jul 27 1994, 10.6K)|
|Summary:||Utility_Belt: Batch file utility collection|
|Download:||belt1ca.zip(Aug 21 1996, 60.1K)|
Index 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
|Summary:||Get assisngments from INI file|
With VARGET you can get assignments from a (Windows style) INI file, and make them available as environmental variables. Section names are supported.
Example: call var get [desktop]wallpaper from %windir%\WIN.INI
To generate the variables VARGET uses the same CALL VAR construct as VARSET.COM (Win 2000/XP compatible). Several assignments can be extracted with a single command.
Example: call var get MAIL,SOURCE,ADDRESS from XJOB.INI
VARGET offers an easy way to use INI files for your own batch projects. To save environmental space you can activate variables only when you need them.
|Summary:||Set environment variables|
VARSET sets variables with various file related information, and offers integer arithmetic and string operations. Long file names are supported under Win 9x/2000/XP (not under NT).
The syntax is easy to remember, e.g.: call var set FD=date of filename.ext
To set the environmental variable a SET instruction is generated, and automatically executed through the CALL VAR SET .. construct (this also works under Win NT).
DATE, TIME Date/time tag of given file (name), or current date/time
FILES, DIRS Number of files/directories (wildcards)
SIZE Size of file(s), wildcards supported, bytes, Kb or Mb
LINES Number of lines (ASCII file assumed)
VOL Volume label for given drive letter
DRIVE, -DRIVE Extract or remove drive from given filespec
NAME File name without path and extension
EXT, -EXT Extract or remove extension
LFN, SFN Long/short file name (with full path)
FULL Complete file name with full path
Substring (position, length)
(expression) Integer calculation
Options: Change upper/lower case, right aligned strings, leading zeros, thousands separators.
|Summary:||Set environment variable to video display type|
|Download:||vidtyp14.zip(Feb 25 1990, 25.2K)|
|Summary:||VolumeChecker: Batch utility checks disk label|
|Download:||vc10.zip(May 19 1991, 4.9K)|
Index 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
|Summary:||Batch file pause utility, wait for x seconds|
|Download:||wait.zip(Dec 24 2000, 21.6K)|
Wait.exe - a ms-dos/Win3.1/95/98/2k/NT compatible batch file utility
where you can pause a batch file for as long as a full day. Use in
those batch scripts where you want to wait for a certain number of
seconds, and then let the batch file continue on. More useful
replacement to the pause command if you don't want to pause forever.
|Summary: WINDOWS Clipboard Utility for DOS|
Download: wait.zip (3K)
WCLIP sends redirected/piped DOS text to the WINDOWS clipboard.
Example: DIR | WCLIP
It also reads from the clipboard, sending the text to STDOUT (for redirection to a file).
Extended ASCII characters are converted according to the country specific "OEM" font.
Append to current text in clipboard (default: overwrite)
T-Pipe: send text to the screen as well (STDOUT)
WCLIP runs in a DOS box under WIN95/98 (not under NT/W2K/XP)
32 bit version see: Windows / Command Tools / Cliptext.
wHat A tIMe
|Summary:||System clock to errorlevel|
|License:||Freeware. (Totally free for private persons), governmental andbusiness|
|Download:||wat01.zip(Dec 6 1996, 5.1K)|
wHat A tIMe v0.01 is a batch utility that reads the system clock and returns it in exit codes. If you want something to happen on a specified time then use wHat A tIMe. wHat A tIMe will get the user time and return exit codes that you can use with 'if errorlevel = x goto label' in your batch files.
|Summary:||Dialog boxes for DOS batch|
Dialog boxes for DOS batch: menues, buttons, input fields, checkboxes, radio buttons, list selection Easy handling, no ANSI stuff to deal with - colors are specified by name. WBAT runs under all Windows versions or plain DOS. Features: Layout for box with text and control elements - all elements can be freely arranged Quick box with specifications in the command line Selection from batch generated lists (e.g. DIR file lists) Text pages with color attributes INI file with defaults and preferences Win NT/2000 compatible handling of variables Mouse handling is supported in a GUI box as well as in full screen mode. Of course WBAT will also work under plain DOS. DEMO.BAT supplied with full handling details (instead of a DOC file).
Index 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
|Summary:||Extended echo for DOS batch programs|
|Download:||xecho133.zip(Mar 30 1998, 84K)|
This file contains a couple of DOS utilities which are written in English and German languages. They are useful for those computer users who like to create batch files and who are looking for assistance and more performance. The main program in the collection is Xecho.com. It replaces the DOS command Echo. Xecho allows the user to work with a lot of parameters.
Thus it is possible:
to send the current date and time to the screen
to send any text string containing any characters (including <>|) to
to finish the echo line without CR/LF
to switch on or off NumLock, CapsLock and ScrollLock
to output frequencies via the normal board speaker
to check LPT.. for printer (ready for printing or not)
to check mouse
to perform integer decimal calculations
to generate error levels from a lot of occurrences
to set cursor to a certain position or make it invisible
Xecho is described completely. The other utilities provided show their functionality by typing their name with the /? parameter.
Index 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
Index 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
Index 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]