![]() |
Batch File - Running a exe and closing the winodw
Hi everyone,
I have a simple batch file that does some tasks and finally runs a exe, :
task1 But when it runs the ATITool.exe, the black DOS window just stays there in the foreground. So all I want is to do is close that window automatically after it executes the ATITool.exe. How can I do this ? Any help will be appereciated. |
Put "start" before the command
e.g. :
start "" "C:\Program Files\ATITool\ATITool.exe"The first set of quotes are for the window title Edit: added and fixed the quotes |
Thanks so much mate.
Its working now. :) I have been struggling with the start and call commands but wasn't able to do it sucessfully as I was using, start "C:\Program Files\ATITool\ATITool.exe" instead of what you suggested, start "" "C:\Program Files\ATITool\ATITool.exe" Thats the title parameter, right ? |
| All times are GMT -5. The time now is 1:33 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC