Every time I startup my computer it is usually so I can start the same program, which in my case is FrontPage. I update my webpage everyday so I decided to create a batch file to start this program automatically at startup so it is always ready for me to use.
Here’s how to write a simple batch file to start a program when you start your computer:
- Open notepad. It is located at Start Menu>All Programs>Accessories>Notepad (Windows XP)
- Then type start frontpg.exe
- Choose File from the menu above. Then choose Save As
- Navigate to save on the desktop and type the file name in with .bat filename extension. I have called mine startup.bat
- Now you can double click on it on the desktop to test if it opens FrontPage.
Now If you want to automatically start this batch file when you start your computer then follow these steps:
- Right click on the Start Menu in the bottom left corner. Choose open
- Open the Programs folder, then The Startup Folder.
- Copy your file from the desktop and paste it in the Startup folder.
- Now when you start your computer, your program will automatically start for you. You do not even have to press on the batch file to start your program
You can start any exe file with this simple little batch file. An exe file is an executable file that usually starts a program. Here are some variations of the simple batch file.
- start /min frontpg.exe
- start /min iexplorer.exe
- start /min notepad.exe
- start /min iexplorer.exe http://www.tips4pc.com
- start /min msimn.exe
- /min = When the program opens it is minimized in the task bar
- /max = When the program opens it will be maximized and open on your screen Also writing nothing does the same thing.
- winword.exe Microsoft words .exe filename.
- msimn.exe Opens Outlook Express.
- Leave your batch file on your desktop You can just press on it yourself to start all your programs. It starts them so quick!!! I would rather do it this way. It is even quicker than pressing on the icon on the desktop…Don’t ask me why.
- You can also drop a shortcut to a program into the startup folder and it should do the same thing.. Give it a try
- start /min 10.0.0.1 This will take you to a network computer. You need to replace the IP address with the address of the computer you want to connect to. You can also put a server name or computer name as long as it is on the network. Here’ how to find your IP address on your computer.