![windows logo windows logo](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhloGYtFY0g-ZIYIdmECNMX9Z4FHpBiFkz0Q_cW5YNPkc6E0JHu2EDtZTjkhQk2fJu4CXCaC6iQLtaYBipPQeWw4rAzTdYWNUdyovGLsqf0a-JFbzDI21w6dSGPF9r3jHpDx26nBsHejkr1/s1600/windows.gif)
Go to Start => Run => Notepad
Write the following code in that file :
Save as the File and give extension .bat
For example :
![batch file batch file](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjCAvIS3Tgn1xQjq5OZh-yOsSS34JzZWANc-Htc6oOHz9tyt2SxcKsd35tL7ewOQns7piUCRV7tcVUvgkIH8xeQHyGuDGx0Os7iYsnBoD0icnATHaoKW9PaACUOXd81GMqhkp74Qx_Xazm/s1600/image.jpg)
Done .
Note:
Bat File : In DOS, OS/2, and Microsoft Windows, batch file(.bat) is the name given to a type of script file, a text file containing a series of commands to be executed by the command interpreter.
Syntax:
Start Starts a separate window to run a specified program or command.
CD (Change Directory) is a command used to switch directories in MS-DOS.
Echo is used to repeat the text typed in back to the screen and can be used to echo to a peripheral on the computer, such as a COM port.
(For any question , please comment and suggest.)
No comments:
Post a Comment