I am retiring this website. Please visit my new blog here for all things tech-related: goo.gl/d7D1J

Thursday, April 9, 2009

Making A Simple Batch File

A batch file is a text file containing a series of commands intended to be executed by the command interpreter. When a batch file is run, the shell program (usually cmd.exe) reads the file and executes its commands. Making them are easy - at first. Here is how to make simple batch file to open up a website:

1. Click Start.
2. Click Run.
3. Type:

notepad


4. Type:

start www.google.com


5. Save it somewhere you’ll remember as a .bat file. (Save it as .bat instead of .txt.)
6. Find your file and execute it to see it in action.

No comments:

Post a Comment

Web Analytics