1.

Solve : Need Help on Restarting an application using batch file!?

Answer»

I do need a help on restarting an application using batch file for example I can stop an application but it WONT START again. I am using this kind of COMMANDS:
Code: [Select]@echo

taskkill /F /IM name of program.exe

START "D:\Program Files\name of program\name of program.exe"

end
Can any one help or tell me where I'm wrong on writting of this file.

P.S. If I do write at the line START "D:\Program Files\name of program\name of program.exe" without quotation marks it gives me an ERROR message.
Cheers. Try

Start "" "D:\program files etc....."

Or....

"D:\program files etc........" i.e. without the Start command.






Thank you Dusty for the reply I fixed the problem and it works with first procedure.
It has worked with:
Code: [Select]Start "" "D:\program files etc....."

@administrators
You can close or delete this Topic.

Cheers.Good news, thanks for coming back to report your success.



Discussion

No Comment Found