Skip to main content

How to create a .bat Batch file in windows

Batch files are similar to executable files. Batch files can run a set a set of command prompt commands for you. If you always run a particular set of command prompt commands often, use batch files to run them. You can also make interesting short cuts to various applications.
Procedure to make a batch file:
Open notepad and type the commands which you want to run.
Try typing each command in only one line.
Type the next command in another line.
Save the file. In the save file dialog box, in the file name text box type the filename followed by ”.bat” without quotes. Now save the file.

Now when you double click the file, you will be able to run that list of commands which you have typed in your notepad.

Here is an example:
Open notepad and type appwiz.cpl. Note that the commands are case sensitive. Now save it as batch file and double click it. It will open Add or remove programs. You can change the icon of the batch file to make it look attractive.

Popular posts from this blog

How to enable / disable JavaScript in SeaMonkey

For enabling and disabling JavaScript you need an add-on for SeaMonkey called quick java . You can download this free add-on from mozdev.org or just Google for it. After installation you will be able to see two buttons near the progress bar, for enabling and disabling JavaScript and java. Just click on the buttons to disable and enable JavaScript or java. There will be separate buttons for java and JavaScript.

How to Increase Internal Memory Space in Any Android phone – Without Rooting your Phone.

Although there is no risk involved in this Process, this gives you opportunity to Move Applications between Your Internal Memory and Memory card (SD Card).But make sure you don’t move the Applications which use Widgets to the SD Card because they Widgets will stop working when you Plug in to your PC and Use the Phone in Mass Storage Mode. (The SD Card will the Disconnected from the Phone). Just use your Common Sense and you are done. You will have to do some Command Prompt stuff now, but don’t worry;it’s very simple and easy. Step 1: Install JDK and then Install Android SDK. (Just Google for them, they are freeware) After Installing run Android SDK Manager. Select Android SDK Platform Tools (Uncheck anything else) and Click Install 1 Package. Step 2: Enable USB Debugging in your Phone in Settings > Applications > Development. Step 3: Type cmd in  start menu and when cmd.exe shows up in search results, right click it and select "Run as Administrator&quo

How to make print screen button to automatically open the Snipping tool in Windows 11

 In windows you can search for keyboard from start menu and open keyboard settings.  Or you can go to Settings > Accessibility > Keyboard. In the keyboard settings window, toggle the switch that says "Use the Print screen button to open screen snipping".  Hereafter whenever you press print screen button, you will be able to make a selection on the screen for a screenshot.