Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Help ???????

Status
Not open for further replies.

newBPhoneGuy

Technical User
Dec 12, 2005
204
US
ok i wasnt sure what to put in the subject but heres what i want to do........i have 2 icons on my desktop...one connects to a vpn and the other runs a search/inventory program that will only run on the vpn.....i wat to make it so that when i click the vpn icon and connect to tyhe vpn the program starts right after or at the same time.......


thanks in advance
 
Make a batch script that links to those files.

Put those files in the C: and not on the desktop
Open notepad
type the following indented lines into notepad, they do not need to be indented in notepad:

c:
program1
program2

Put the program executable names in place of that thing.
Save the file as a .bat file on your desktop so you can double click it to launch both of them.
 
also, some vpn programs have the feature to run a specific program after connecting. carefully comb through the options/preferences (if they arent locked out by a policy) of the vpn program, and you might be able to find an area to specify a program to run after connecting.

what is the vpn software, specifically? cisco, at&t, etc. ??
 
IM NOT SURE BUT REFLECTIONS2 IS WHAT I USE TO LOG INTO THE DATABASE AFTER I CONNECT TO THE VPN
 
I've got a company that uses reflections.

Just set a batch script like I said in the first post.

You could set it up with a PAUSE in between the programs, it would open one, pause until you hit a key, then open the second one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top