Login
Register
Technology Articles
Giveaways
Article Topics
Android Phones
Operating Systems
Forum
Ask Experts
Product Reviews
Practice Tests
Start Thread
|
Submit Article
|
Windows 8
|
HTML 5 Tutorials
|
CCNA Practice Tests
|
AdSense Tips
|
Social
|
Affiliate Programs
|
Help
|
New Posts
|
Resources
»
General Articles
»
Tips & Tricks
How to create a batch file in Windows 7
Posted Date:
05-Aug-2010
Category:
Tips & Tricks
Author:
D.Jeya Kumar(JK)
Member Level:
Gold
Points
: 8
This article explains how to create a batch file in Windows operating system which is used to execute a batch of Dos and as well as windows command.
How to create a batch file in Windows 7
Windows provides so many options in order to improve the performance and usability of the system. Most of the utilities which is provided by Windows operating system can be run from command prompt. All of the utilities can be run as a command.
Batch files can be used to make a set of command to execute in Windows operating system. Support if you want to do series of activities in Windows then you can add all the commands in a batch files and it will executes all the command one by one. It is one of the easy ways to automate a process in Windows operating system.
You can add the system command in the batch processes and you can run the processes in specific time using the scheduler.
You can automate an administrator task in batch file easily. Batch files are simple text file which will have some basic dos command and you can also run the system command that you can run in Windows command prompt.
In order to create a sample batch file open notepad and type the following command and save the file as Test.bat
ECHO OFF
Dir
PAUSE
Ipconfig
Pause
Cleanmgr
Check the below screenshot
ECHO OFF
is DOS( Disk Operating System) command and while running the commands in the command prompt it will not show the command that is executing.
Dir
will just list the files and folders in the directory.
Pause
will wait for the user input, press enter key of other key to continue.
Ipconfig
is a Windows command which will display the network configuration of the system.
Cleanmgr
is a Windows utility command which will open the disk clean manager Window.
Once the batch file is created and you can double click the batch file using the mouse and it will start executing the series of Dos commands and other command that you typed in the Batch File
Check the list of DOS commands from the below link
Click here for the List of DOS Command
Related Resources:
Windows 7 Parental control: A review
What is the role of the Microsoft XPS viewer in the window 7 ?
What is sticky notes and why to use it on the window 7 environment ?
Windows 7 Top 10 Security features
Windows 7 Firewall features
Windows 7 service pack 1 - Why you need This?
How to Limit the reserve bandwidth in the windows 7
Get Windows 7 for Free: Windows 7 Free License Edition Download FAQ
Top 10 Features Of Windows 7 and Its Review
Features of Windows 7
Read related articles:
Windows 7
Batch Fille
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "How to create a batch file in Windows 7"
Author:
TECHNOCIA
06 Mar 2011
Member Level:
Silver
Points
: 0
nice article
Guest Author: Carlo 14 Nov 2011
I have a batch file which was running on XP and Vista but will not run on Win 7. Why?
Guest Author: Roger 18 Sep 2012
It's much easier to create batch files with a special tool called Dr.Batcher: http://www.drbatcher.com
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
Name:
Sign In
to fill automatically.
Email:
(Will not be published, but
required
to validate comment)
Type the numbers and letters shown on the left.
Next Resource:
How to Limit the reserve bandwidth in the windows 7
Previous Resource:
How to deal with slow Windows XP computer
Return to Resources
Post New Resource
Category:
Tips & Tricks
Post resources and
earn money
!
More Resources
How to Limit the reserve bandwidth in the windows 7
How to run a Windows 7 program as a different user
How to close Windows Explorer in Windows 7 and Vista using hidden trick
How to start an application automatically in Administrator mode in Windows 7
How to block a web site in Windows 7
How to burn DVDs with Windows 7 DVD Maker
Popular Tags
Tag posting guidelines
Search Tags
Windows 7
.
Batch Fille
.
Batch command
.
DOS command
.
Subscribe to our upcoming monthly newsletters and learn about the new opportunities in Techulator.com
Sign up for our Newsletter!
Subscribe to RSS Feeds by Email
Online Members
Anand Gaurav
More...
Awards & Gifts
Active Members
Today
Sukhdev Singh
(17)
Pravin S Chavr...
(10)
Jebaprincy
(6)
Last 7 Days
Sukhdev Singh
(656)
Ankit
(542)
Fazl
(347)
more...
Talk to Webmaster Tony John
RSS Feeds
Resource Feeds
Forum Feeds
Job Feeds