View Single Post
  #6  
Old 2020-02-07, 06:09 PM
Five's Avatar
Five Five is offline
 
Join Date: Oct 2004
Location: Canada
Re: The Validity of MD5 Checksums

legacy software article, 2004
Quote:
Originally Posted by RainDawg
Creating a DOS batch file.

Many of us on a Windows PC today take for granted the ease of use which comes with a graphical user interface (GUI). This makes using programs easier, prettier, and more efficient. Yet before the creation of graphical interfaces, computers required the use of "command line" programming: simple text commands given to the operating system. There are many programs still in use today that are either exclusively command line applications or permit the use of command line options to increase the functionality. One such example is shntool, an incredibly powerful audio file application which I use quite frequently.

To automate the use of command line applications, something called a "batch file" was create to send a series of commands, one at a time, to a list of programs. For repetitive work, it can save quite a bit of typing. Batch files can also be used for any commonly used function, preventing the user from having to manually type it each time they wish to use it.

Creating a batch file is really quite simple. There are sections of this website that will refer to creating and using batch files, so I've setup this quick guide for creating and using one. This is not, however, a guide for coding a batch file. There is an enormous amount of information on this topic available on the internet and I'd prefer to not re-create the wheel.

To create a batch file, open Notepad. Click File > Save As. Browse to the directory you'd like to save the file in. In the "Save as type" input box, select the "All Files" option. Then type in a filename ending in .bat instead of .txt. This will identify it as a batch file. Once the file is save, add valid DOS batch file commands, save, and close the file when done.

[image missing]

Once the batch file has been completed, it can be run by double clicking. If the batch file requires another file or a folder as and input it can be triggered by dragging the file/folder onto the batch file in a Windows Explorer window. The batch file will run whatever commands you have programmed it to do and automatically display the necessary results.

[image missing]
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes