How to Create a Batch file in Windows 8 ?

In this article , we will explore one of the easiest way on how to create batch file in Windows 8 . The process of creating batch file in Windows 7 or other versions of Windows too remains the same.

What is a Batch File ?

Batch file is a text file that have some kind of commands in them or is used to execute a batch of DOS commands .

How to Create a Batch file in Windows 8 ?

There are various ways with which the user can create the batch file . The purpose of the batch file to executed has to be identified by the user creating the batch file and its context as well.

The batch files can typically be used to automate a process / task of the user.

To create a simple batch file in Windows 8 , Follow the below steps

1. Open Note pad.

2. Type the following

Echo off

ipconfig

3. Save the file as “batch.bat” on the desktop

4. From the Desktop , double click the “batch.bat” file to open the batch file and execute the commands in it . In the above example , ipconfig will be displayed.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...