|
Write A Batch File To Start a particular Program
at each Startup
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.
|
-
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
-
When you are finished making the file it will look like this:

-
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 startup,
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.
Some variations of the simple batch file
Try some of these batch files:
Example one
start /min frontpg.exe
start /min iexplorer.exe
start /min notepad.exe
This will start FrontPage, Internet Explorer, and
notepad.
|
|
Example Two
start /min iexplorer.exe
http://www.tips4pc.com
This will start Internet Explorer and start the
Tips4pc.com website.
Example three
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.
Here's the one I use
start /min frontpg.exe
start /min \\10.0.0.1
start /min iexplore.exe
http://www.tips4pc.com
start /min msimn.exe
NOTES:
-
/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
Recent Articles
Browse Tips4pc.com for more articles
About the Author
Mitz Pantic wrote this article
and others for
http://www.tips4pc.com Browse Tips4pc.com for more articles
that are written in an easy to understand interface and FREE computer help.
You can also visit her
Australian Ebay store
Fantastic Bits 24_7.
This article is free to re-produce providing
that the author's bio is included and the website links are still
clickable...
I press the power button on my
computer, let it all load and start working.. How easy is that?
|