The IFX Group Batch File Collection
Batch files are the most powerful and possibly the least understood abilities of the DOS and Windows command line interface. This is a hint at the lost art of scripting a few lines of text to do things most people believe requires an expensive programming language. Even if you have no need for the functions of the following files, these can serve as reference material in building your own batch files.
The following files are ASCII text and will not work if saved with HTML formatting. If your browser attempts to display the following files, press the Shift key while clicking on the link or use the Right mouse button and select the Save As
option.
Download: Size: Updated: | asort.bat 1,262 bytes October 28, 2004 |
A tool to group a large number of files
into alphabetical subdirectories by file name. This will create 36
subdirectories with single character names using the letters A
through Z and the numbers 0 through 9 to hold the files. Files that
start with characters that don't match the letters or numbers will
be sorted by the second character of the file name. This allows
files like (Sample).JPG to be placed into the S
directory. This batch file uses recursive calling to perform the
file location and moving on each of the file names.
(If you want to direct others to this file, please use this quick link.)
Download: Size: Updated: | cdup.bat 1,355 bytes July 26, 2004 |
A DOS/Windows 9x batch file to
change to a parent directory similar to the command line FTP
command by the same name. This has been extended to allow changing
to sibling directories contained in parent directories. This is
still a work in progress and currently fails to detect empty
directories.
(If you want to direct others to this file, please use this quick link.)
Download: Size: Updated: | clean.bat 8,848 bytes July 26, 2004 |
A Windows 9x batch file to gather
interesting files and erase all others. This started out as
a simple tool to collect audio files from news reader output and
grew into a program with the ability to call decompression programs
when needed, detect if new files are arriving and loop until they
are completed. This demonstrates recursive batch file calling and
user input with timeout.
(If you want to direct others to this file, please use this quick link.)
Download: Size: Updated: | editmail.bat 4,687 bytes July 26, 2004 |
A DOS or Windows batch file to
copy an IPAD Mail authority file to the local drive for editing. If
changes are made the new file is posted back to the IPAD mail
server. This batch file keeps 20 backup copies of the mail
authority file, but only if edits happen. Editing needs an external
program (e.g. Qedit) to function. Read the remarks at the top of
the batch file.
(If you want to direct others to this file, please use this quick link.)
Download: Size: Updated: | mavica.bat 1,159 bytes July 26, 2004 |
A Windows 9x batch file to move
contents of a Sony Mavica digital camera disk to the hard drive of
your computer. This demonstrates use of the CHOICE command for user
input.
(If you want to direct others to this file, please use this quick link.)
Download: Size: Updated: | unmap.bat 547 bytes July 26, 2004 |
A batch file to release all
mapped network drive connections using drive letters. This
demonstrates the FOR command to loop through a list and perform the
same command.
(If you want to direct others to this file, please use this quick link.)
Download: Size: Updated: | xfdisk.zip 1,554 bytes December 02, 2005 |
This batch file uses a
short script passed to DEBUG.EXE to totally remove all partitions
on your hard disk along with all of the data contained in those
partitions in less than a second. This is a very destructive tool
and will cause loss of data. If you have a disk with partitions
that Microsoft FDISK is not able to remove, this is the quickest
way to zap them and get a clean disk. This batch file is designed
to be run from a drive (floppy disk, CD or USB device) that is not
the disk you want to erase. WARNING! USING THIS BATCH FILE WILL
CAUSE LOSS OF DATA!
(If you want to direct others to this file, please use this quick link.)
File update subscription (RSS 2.0 feed)
Please let us know if you make improvements on our batch files.
IFX Group Software License
Except where otherwise noted, all software and documentation available here is copyrighted by the IFX Group and/or Casey Sprangel with all rights reserved.
This software is provided "AS-IS", without any express or implied warranty. In no event shall the author be held liable for any damages arising from the use of or inability to use this software.
Unless otherwise noted in the included documentation, permission is granted to anyone to use this software for any purpose, including commercial applications, and to redistribute it, provided that the following conditions are met:
- All redistribution of source code files must retain all internal copyright notices that are currently in place.
- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software as part of a product, an acknowledgment in the product documentation would be appreciated.
- Modified versions in source or binary form must be plainly marked as such, and must not be misrepresented as being the original software. We suggest adding your name and the date modified in the appropriate place(s).