creating a batch taskkill?

Hi guys,

I have a task from my belkin flip KVM that loses its task icon pretty frequently, but the process is still running.

I've made a batch file
Code:
taskkill -IM flip.exe
this works fine in killing the flip.exe

what i'd like though is kill the exe then pause for 4-7 seconds and then start the flip.exe again. I'm not a programmer in any way, so if anyone can help it would be great.

(it's driving me flipping mad!) LOL
 

My Computer

System One

  • CPU
    INTEL CORE 2 QUAD Q6600
    Motherboard
    ASUS P5K-E WIFI P35
    Memory
    8GB DDR2 667MHZ KINGSTON
    Graphics Card(s)
    Nvidia Geforce 8800GTS 512MB G
    Hard Drives
    1 x Western Digital 500GB 16MB SATA2
got reference for a pause...but I'm not sure if I'm implementing it correctly....and the start command just makes the cmd window stay open and flip doesn't start. again syntax is totally wrong me thinks.
Code:
taskkill -IM flip.exe
PING 1.1.1.1 -n 1 -w 5000 >NUL
START "C:\Program Files (x86)\Belkin\Flip\flip.exe"
EXIT

anyone got any ideas?
 

My Computer

System One

  • CPU
    INTEL CORE 2 QUAD Q6600
    Motherboard
    ASUS P5K-E WIFI P35
    Memory
    8GB DDR2 667MHZ KINGSTON
    Graphics Card(s)
    Nvidia Geforce 8800GTS 512MB G
    Hard Drives
    1 x Western Digital 500GB 16MB SATA2
You've omitted the "title" parameter for the start command, so the path to the executable is being interpreted as the title instead.

Try this:

taskkill -IM flip.exe
PING 1.1.1.1 -n 1 -w 5000 >NUL
START "Restart" "C:\Program Files (x86)\Belkin\Flip\flip.exe"
EXIT

If you type START /? and press enter you'll see the help and syntax rules.
 

My Computer

Back
Top