Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Vista Batch File.


  • Please log in to reply

#1
3r0ss

3r0ss

    Member

  • Member
  • PipPip
  • 20 posts
Hey guys and girls,

Recently I had a batch file working on windows to automatically connect and reconnect my dongle.
But now I am on vista and it don't seem to be working... Here is the batch code...

start "" "C:\Program Files\3 Mobile Broadband\3Connect\WilogApp.exe"

PING 1.1.1.1 -n 1 -w 120000 >NULL

TSKILL WilogApp

Are the commands different on vista? Whats happening is my dongle opens then closes right away.
  • 0

Advertisements


#2
SpywareDr

SpywareDr

    Member 3k

  • Member
  • PipPipPipPipPipPip
  • 3,996 posts
@echo off
start "c:\program files\3 mobile broadband\3connect\wilogapp.exe"
ping -n 61 127.0.0.1 >nul
tskill wilogapp
If you need more or less time before killing wilogapp, simply change that "61" on the line beginning with "ping". The current "61" is 60 seconds plus 1 for good measure.

(Note that I do not have Vista or wilogapp.exe here to do an actual test to make sure it works).
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP