Writing a Batch File
It's batch time!
Have you ever wondered how to use your windows command prompt? Do you feel like you're not geeky enough to learn how to write batch files that can automate daily and probably boring tasks? Well, this article will prove you wrong, and show you how in just a few simple steps. Instead of typing the same commands, you can just double click the batch file and execute the "batch" of commands.
The first step to write a batch file is to open up notepad. Yes, that boring text editor that you've never used. Save your type: "All files" instead of *.txt and add ".bat" to the end of your file name.
Type "@echo off" in the first line, which will prevent the command prompt from displaying the commands as they are being executed. Enter all your commands.
Check out this simple example (copy and paste in Notepad).
REM The following will open hubpages in a new Internet Explorer window.
start iexplore.exe http://hubpages.com/profile/craftyzen
More by this Author
This tutorial is primarily for beginner solvers who haven't done many sudokus and would like to learn a systematic approach to solving sudokus. If you feel confident with this skills, you can try taking a look at the...
A Sudoku puzzle. If you're a sudoku enthusiast like me, you probably have come across two types of sudokus. Those that are too easy and those that are way too hard. It seems like there's never anything in between....
This tutorial is primarily for advanced solvers who have done a good deal of sudokus and would like to further improve their skills with some advanced theory. If you don't feel confident in your skills yet, take a look...