Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need to create a shortcut (or a batch file) that when I double click it, it would launch my connection to the internet (dial-up) and a program (Zone alarm). How can I do it ?

Have a look at these...Google rules.
http://www.computerhope.com/batch.htm
http://www.labmice.net/scripting/default.htm
hope they help,not one of my areas of expertise at all...but then again,no area is!!! LOL

Go to start/settings/dial up networking. In this folder you should find your icon for ISP. right click, create shortcut. You should now have shortcut icon, drag that to your desktop. Double click it and it will launch your connection. Sorry don't know about zone alarm cos I have it in start up menu so its on all the time.
Don't know if this is what you needed(like the kid I'm no expert, but these things work for me.good luck

Bernard,for ZA,click START-PROGRAMS locate Zonealarm from the list of programs right click it then click-SEND TO-then click-desktop create shortcut,once its on your desktop you can drag it down to the quicklaunch area for a one click launch if so desired.Do the same for your ISP Icon.

He wants to start both programs w/one click though,(although he said double click)not two seperate shourtcuts.Once he creates that,then he can drag to his quicklaunch bar.
Single-click=Isp(IE)/ZoneAlarm launch simultaneouly.That's what "I" think he wants.If he,Bernard,goes to;
http://www.computerhope.com/batch.htm,he should find what he needs.

@ECHO OFF
START /M "C:\WINDOWS\NOTEPAD.exe"
START /M "C:\Program Files\Internet Explorer\IEXPLORE.exe"
EXITCopy / paste that into notepad . Name it Connect.Bat . Use notepad to edit the path in the first line to launch ZoneAlarm.
Double click it and see if it works....

I use that method too John,but I don't hink that method will achieve the goal that Bernard is trying to reach.Unless you're talkin'/kiddin'about the "me dumb" method.
Not that is an area of expertise for me,when it comes to pC's.It seems like,and my father always told me this;
"The more you learn...The less you know!"
I just hope he posts back with his results,if any.

Thekid - yes thats exactly what I want... open both with a single click...
ShutMeUpOrDown:) - Thats almost what i want... but this way I'll have to set IE to automatically connect to the net... isn't there a way to do it without setting IE to connect ?

Not possible to connect to the internet from a batch file unless you have the connection setup to automatically dial. [as far as i know]
If you have DUN setup where you have to hit the connect button each time.... thats where the batch file would leave you. "Waiting for you to click the connect button."

Well Bernard,now you're really losin' me.In your original post you said you want to launch your internet conn. in conjunction w/the launch of ZA.Am I missin' somethin' here?Aleays willin' to learn!

Ok.. What I mean is : My connection is set to automatically dial, but IE is set to never dial a connection (under tools > options > connection). Using your batch file, it would open IE, but IE wouldn't dial the connection, understand ? So, is there a way to connect without setting IE to "always dial the default connection" ?

Yes thekid, thats right ! I wanna launch my internet conn. in conjunction w/the launch of ZA, like you said...

I lost the plot also, I use Tiny Firewall which is enabled at start up. I then click on the DUN icon and away I go. Why have a bat file?

Are you trying to view webpages offline?If so,why would you need ZA to kick in?I'm just not getting your reasoning behind wanting that particular configuration.

How do you connect Bernard? I assumed you launched IE via quicklaunch icon.
If your connecting thru the DUN shortcut.. Change the IE line in the batch file to your DUN connection. If your connecting thru something else put that in..
START /M "C:\windows\desktop\Shortcut to Connection to XXXOOOO"

Let me clear things up : All I want is prevent ZA from loading with windows, since I only need it when Im connected to the net. So I need a batch file that would dial my default connection and open ZA.

As far as i know.. You wont find a batch file that dials your connection for you.
The batch file will allow you to launch a program that dials the connection such as IE set to automatically dial.

So you do want to connect when you use this batch file/shortcut?Keeping ZA from loading with Windows would be an easy task...I would imagine.I don't use ZA,but what differentiates it from any other program?

Thanks everyone ! ShutMeUpOrDown:) solution worked ! Thanks for your help too thekid ! Its nice to know that people care :)

Ok thekid this is my problem:
My computer is slow (500 MHZ) and I want to prevent ZA from starting up with windows for a faster boot up, since I'll only need it if I'll use the internet.
But I'm too lazy to open both Zone alarm and my connection :), and I wanted to create a single file that would connect (dial a specified connection) and open ZA.
Got it ?

Alright,I wish you'd have said you didn't want it to load upon boot earlier,"then" I would have understood your reasoning behind it.No biggie,though...I'm just glad you got it worked out.SMUOD to the rescue once again.
Don't be a stranger.
Experience is something you don't get until just after you need it.

Just in case someone is interested, there is a nice tool from "Outer Technologies" for handling batch files in windows, called "Batchrun" (it is free):
http://www.outertech.com/product.php?product=6&PHPSESSID=bc1eeb884e25e84875d02a9da0ff72ea

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |