What's inside your computer


Batch File Compare - Automate Routine Jobs

Anatomy of a Batch File. A batch fileupper memory/expandable memory thus freeing
contains a sequence of commands for aup  conventional memory for utilities to run.
computer OS. Batch files are called so due to
their ability to batch or bundle commandsPractice ground for juvenile virus writers.
together in a single file which otherwiseBatch files have become a script kiddie
would have to be executed individually. Batchfavorite due to their simple syntax and low
files are typically created for commandamount of programming knowledge required.
sequences for which the user may haveLaughed upon by the advanced virus writers
repeated needs. Common uses of batch filesfor their simplicity, batch file virus can
are for deleting a series of files, runningcause massive damage very rapidly.
utilities and moving files. Once a batch fileFortunately batch file viruses don't spread
is executed it's read by a shell programunless  copied  into  another  computer.
which executes it line by line. A batch file
is something similar to a shell script inBatch File Comparing. File Comparing is the
UNIX like OS's .Batch files are intelligentautomated comparing of files or folders which
enough to make decisions and performsare there in a file system. The commonly used
operations only if a certain conditions existfile comparing programs are diff and cmf. Dff
or don't exist. Certain batch files are knownfiles displays the changes made per line and
to execute commands that are not availablenowadays they have developed to include
under  DOS.binary files. File comparison tools works by
finding the Longest Common Sub Sequence
The commonly used batch file is AUTOEXE.bat(LCS).What LCS essentially does is it tries
which is a simple boot file which loads everyto find a new sequence from two sets of items
time MS DOS starts and contains a list ofsuch a way that the new sequence can be
commands used to run programs on MS DOS. Theobtained by deleting certain items from the
most apt comparison would be with a desktoptwo  older  sets.
shortcut in windows which runs programs.
Though out dated, batch files are still usedCertain other programs use the Longest
by system administrators to automate routineIncreasing sub sequence to differentiate
processes. Even though batch files supportbetween two files. File comparing softwares
basic program flow commands such as IF andlike Active file compare, Win Merge and Meld
GOTO they are un-suited for general purposeallows comparing, merging and synchronizing
programming. With a single command batchfiles. Active File compare has a built in
files can launch a program in the desiredFile manager whereby you can compare two
configuration as well as start an associatedfolders, copy files or load files for further
program such as a word processor to startwork. WinMerge has a flexible editor with
once the main program is running.syntax highlighting, line numbers and word
Sophisticated batch files exists which arewrap.
capable of loading a part of program into



1 A B C 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105