![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2006
Posts: 2
Rep Power: 0
![]() |
Hi everyone,
I have a simple batch file that does some tasks and finally runs a exe, task1 task2 . . . "C:\Program Files\ATITool\ATITool.exe" 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. |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Jun 2005
Posts: 825
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Dec 2006
Posts: 2
Rep Power: 0
![]() |
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 ? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|