You can create batch files using any special Editor like Notepad,
Wordpad or maybe Notepad++. We prefer using Notepad. Using notepad can
lead to get detailed syntax of all DOS commands. Best practice of batch
programming can be done using this editor.
Steps for Creating Batch File:
- Open Notepad.
- Type your set of desired DOS commands using which you want to control system.
- Save file as 'file_name.bat'. Make sure that your file name extension is .bat. It will look as follow:
Fig.: DOS Commands in Notepad
Fig.: Batch File Preview
No comments:
Post a Comment