Computer Hope

Microsoft => Microsoft Windows => Windows NT/2000 => Topic started by: submariner on November 15, 2005, 10:19:27 AM

Title: Batch / DOS cmd to CLOSE active Win2000 program
Post by: submariner on November 15, 2005, 10:19:27 AM
My Batch file STARTs a Windows program but I must click the "X" when the Program is finished with actions.  In order to reduce input from the user, I need a CLOSE command.   I am trying to CLOSE only the STARTed program active window in order to continue the .bat file actions.  I see the Batch /  MS DOS "START" command for launching a Windows based program, but not a "CLOSE" command.  No luck in google searches until I found this site today.
Title: Re: Batch / DOS cmd to CLOSE active Win2000 progra
Post by: zoellerman on November 16, 2005, 03:47:42 PM
Is there a dos command of kill.exe or taskkill.exe, if you open the command prompt and type kill.exe /? it should give the help for the command.