![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2005
Location: Sweden
Posts: 10
OS: XP Pro
|
Simpel Batch-file for running applications.
I'm trying to work out how to run two applications using a batch-file.
I'm running a program that needs me to ping my router continiously, but now I want to create a batchfile that will start the ping run as well as the application. can this be done? My batch-file for the pinging is like this: %SystemRoot%\system32\cmd.exe /k ping -t 192.168.0.1 I have tried the following: C:\Program\Application\Application.exe %SystemRoot%\system32\cmd.exe /k ping -t 192.168.0.1 However this only starts the application, is there a simple way to get the pinging to start after i ha started the application? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#3 (permalink) |
|
Registered User
Join Date: Jun 2005
Location: Sweden
Posts: 10
OS: XP Pro
|
Thess are the exact lines:
C:\Program\Application\Application.exe %SystemRoot%\system32\cmd.exe /k ping -t 192.168.0.1 What it does is that it starts the windows application but it doesnt run the ping sequense. The file is named application.bet and I run it by clicking it on my desktop |
|
|
|
|
|
#4 (permalink) |
|
TSF Enthusiast
Join Date: Sep 2005
Location: Louisiana
Posts: 1,091
OS: FreeBSD/Win98/2000/XP
|
Add "start" to the front of the first line...
Code:
start C:\Program\Application\Application.exe %SystemRoot%\system32\cmd.exe /k ping -t 192.168.0.1 Also, the following line is not necessary... %SystemRoot%\system32\cmd.exe /k Last edited by Resolution; 12-11-2005 at 11:28 AM. |
|
|
|
![]() |
| Thread Tools | |
|
|