Anatomy of a Batch File. A batch file contains a sequence of commands for a computer OS. Batch files are called so due to their ability to batch or bundle commands together in a single file which otherwise would have to be executed individually. Batch files are typically created for command sequences for which the user may have repeated needs. Common uses of batch files are for deleting a series of files, running utilities and moving files. Once a batch file is executed it's read by a shell program which executes it line by line. A batch file is something similar to a shell script in UNIX like OS's .Batch files are intelligent enough to make decisions and performs operations only if a certain conditions exist or don't exist. Certain batch files are known to execute commands that are not available under DOS.
The commonly used batch file is AUTOEXE.bat which is a simple boot file which loads every time MS DOS starts and contains a list of commands used to run programs on MS DOS. The most apt comparison would be with a desktop shortcut in windows which runs programs. Though out dated, batch files are still used by system administrators to automate routine processes. Even though batch files support basic program flow commands such as IF and GOTO they are un-suited for general purpose programming. With a single command batch files can launch a program in the desired configuration as well as start an associated program such as a word processor to start once the main program is running. Sophisticated batch files exists which are capable of loading a part of program into upper memory/expandable memory thus freeing up conventional memory for utilities to run.
Practice ground for juvenile virus writers. Batch files have become a script kiddie favorite due to their simple syntax and low amount of programming knowledge required. Laughed upon by the advanced virus writers for their simplicity, batch file virus can cause massive damage very rapidly. Fortunately batch file viruses don't spread unless copied into another computer.
Batch File Comparing. File Comparing is the automated comparing of files or folders which are there in a file system. The commonly used file comparing programs are diff and cmf. Dff files displays the changes made per line and nowadays they have developed to include binary files. File comparison tools works by finding the Longest Common Sub Sequence (LCS).What LCS essentially does is it tries to find a new sequence from two sets of items such a way that the new sequence can be obtained by deleting certain items from the two older sets.
Certain other programs use the Longest Increasing sub sequence to differentiate between two files. File comparing softwares like Active file compare, Win Merge and Meld allows comparing, merging and synchronizing files. Active File compare has a built in File manager whereby you can compare two folders, copy files or load files for further work. WinMerge has a flexible editor with syntax highlighting, line numbers and word wrap.
- Related Videos
- Related Articles
- Ask / Related Q&A
- Comparing Two Files In The File Comparison Utility
- Software Solutions To Compare Acrobat Files
- A Need To Compare Pdf Files
- Compare HTML Files
- File Compare - Using File Compare Software To Improve Productivity
- Comparing Binary Files - Are There Any Benefits For End-user?
- Methodology Behind The Comparison Of PDF Files
- Compare Two Text Files




Data Loggers Are Reliable Workhorses
By: Diana Valentine | 05/07/2009Data loggers are used in everything from the medical profession to car diagnostics. With their stand alone technology and ability to function unattended, these workhorses are a mainstay in our lives.
Online Office 2010 Training – Will You Be Ready?
By: Caitlina Fuller | 05/07/2009As far as all the self proclaimed experts in the world are concerned, the fact is they all started out as beginners. There is an expert on every subject imaginable with computer software included. Becoming an expert takes time and education but who has the time these days.
Microsoft Office 2010 Training
By: Caitlina Fuller | 05/07/2009With the release of the Microsoft Office 2010, due in the first quarter of 2010, you may be in need of Office 2010 training. Staying on top of all the Microsoft programs produces efficiency. In today's world of advanced communication, the Microsoft Office suite of products, are the leader when it comes to communication.
Microsoft Certification Boot Camp – Training for the Professional
By: Caitlina Fuller | 05/07/2009A Microsoft certification boot camp specializes in training professionals to obtain their certifications in Microsoft application. A MCPD bootcamp specifically trains in .NET software development and applications that include .NET 3.5, Visual Studio 2008 and SQL Server 2005/2008.
Microsoft MCSE Boot Camp – Not Your Normal Summer Camp
By: Caitlina Fuller | 05/07/2009A Microsoft MCSE boot camp is a camp where professionals can receive their Microsoft Certified Systems Engineer (MCSE) training in a short period of time. It is an actual camp that takes you away from your surroundings and places you in a highly intensive atmosphere of training.
Microsoft Office Training Courses – Become the Expert
By: Caitlina Fuller | 05/07/2009Microsoft Excel training is a course that will train you to become proficient in the use of the Microsoft product. Whether you are a beginner or an advanced user of the software, you will learn how to sort data, create macros, design charts and much, much more.
Canon PowerShot SD880 is Review
By: Radu Antohi | 05/07/2009he Canon PowerShot SD880 IS is a 10-megapixel camera with a 4x wide-angle optical zoom and has an ISO setting that can support up to 3,200. The IS stand for "image stabilization" and according to Canon, the PowerShot SD880 makes taking group photos go with as much ease as possible....
The Impressive Mobile Computer
By: Roberto Sedycias | 05/07/2009Just when the world had started relishing the discovery of the desktop computers, stepped in the very stylish and easy to use notebooks! A completely fresh and innovative discovery of the 1990`s, the notebook was the perfect competitor for the existing giants in the world of PCs. A notebook in its...
Travel Planning and Performing Tips by Experienced Tourist and Businessman
By: Sam Miller | 26/05/2009 | TravelThe first stage of almost any trip is planning stage. You should plan everything about where you are going to get and you should plan all resources that you might need in your journey. As for resources, typically you will need the same "resources" in any kind of travel, e.g. some...
Tips on Choosing Effective Service Outsourcing KPI
By: Sam Miller | 14/07/2008 | ManagementWhen you are in the process of developing service outsourcing KPI, then you will surely have to deal with what is known as the SLA, or the Service Level Agreement. This is actually the contract or the agreement both the outsourcer and the client enter, with all the stipulations, terms,...
The Six Metrics in an Effective KPI Methodology
By: Sam Miller | 14/07/2008 | ManagementIn the late 1980s, there was a revolution made on how businesses are managed and this is through the usage of the balanced scorecard. This is a management tool whose target is to see if the simple activities of the rank and file employees affect the overall goals of the...
Three KPI Examples
By: Sam Miller | 14/07/2008 | ManagementThere are many ways to measure an employee's performance. However, the most popular tool of today that is also used by many managers all over the world is the employee scorecard. This scorecard contains metrics with specified targets and these are called KPIs. KPI means key performance indicator. As the...
Top Issues in Programmer Productivity
By: Sam Miller | 14/07/2008 | ComputersA software program is something that anyone can be trained to use. Pretty easy if one will think about it. However, very few people have an idea how many hours are put in just to complete and develop software. There is a big issue in programmer productivity in the world...
What to Include in a Balanced Scorecard PPT Presentation
By: Sam Miller | 29/06/2008 | ManagementAmongst the many business and management tools in the corporate world right now, one of the most effective ones would certainly be the balanced scorecard. This is because the tool exists to measure a company's present status against the goals and objectives that the company had planned to achieve in...
Software Interface Testing and Other Types of Software Testing
By: Sam Miller | 23/06/2008 | ComputersSoftware interface testing is just one among the many types of software testing that are used by software engineers for software development. Automated testing is one of the most common software test approaches these days. With this, engineers would not have to perform tests or quality assurance manually. Nonetheless, automation of...
System Testing Approach: Black Box Testing
By: Sam Miller | 02/06/2008 | ComputersAlmost every aspect/phase of the Software Development and Testing life cycle finds application of Black box testing. The attempt is to find errors. These errors can be broadly categorized as: · The user interface contains errors. · The methods (functions) used are either syntactically incorrect or missing. · The data structures used in the...