Interesting Information for Students

Note to Visitors

The content viewed in this blog is a collection of various articles & newsletters and is placed only for educational purpose.

Tuesday, November 22, 2011

Batch Files (Scripts) in Windows


Batch files or scripts are small easy-to-write text files that carry out a series of commands. They can be simple enough that even the average home computer user can take advantage of them.

Systems administrators and power users are well aware of the utility of batch files but the average PC user is generally unacquainted with them or is intimidated by the notion of writing or even running a script. This is unfortunate since it means that many are foregoing the use of a powerful tool for carrying out routine or repetitive tasks. Although batch files can be quite sophisticated and used for complicated network and system administration, they can also be of the utmost simplicity and very brief. In this article, I will introduce the batch file and discuss some uncomplicated examples that make basic tasks easier.

What is a batch file?

These are simple text files containing some lines with commands that get executed in sequence, one after the other. These files have the special extension BAT or CMD. Files of this type are recognized and executed through an interface (sometimes called a shell) provided by a system file called the command interpreter. In Windows XP/ Vista the command interpreter is the file cmd.exe. The large assortment of versatile commands available in Windows XP/Vista/7 makes batch files a powerful tool.

To Learn More,
Link: http://commandwindows.com/batch.htm

The list of commands available in the command prompt for Windows 7 is similar to that for Windows Vista. Some commonly used commands and a brief explanation of their functions are given.

Note: Here are some other links that could help you to understand the concept of Batch Programming,

Batch File Commands,

Batch Programming,

Windows Scripting,

DOS7 Batch Programming,

No comments:

Post a Comment

Popular Posts