it worked, but it just so happens that 1.exe happens to be a cmd window. when i say taskkill /im cmd.exe it closes my current batch window and not both. 1.exe has the extension .cmd but it still shows up in a cmd window and as cmd.exe in the task manager. any way to distinguish the two?
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.