How can i open and close external program (i.e. notepad)?
What aspect commands can i use ? With "run" command open notepad but i don't known close command for it.
thank you for your reply, i known this script, open notepad with - run "notepad.exe" taskid - but is not possible to close notepad windows with taskexit command.
Have you some idea about this problem ?
I can use "alt-F4" in order to close "notepad.exe", but i don't known how can insert it in aspect script (sendvkey or others).
Just another last question, in the aspect example i can open notepad with taskactivate command but taskexit don't work, notepad.exe is always open !!
Thank you for your patience, i will waiting your replay !!
There are a whole set of capabilities available in windows xp.. one of them is TASKKIL.EXE available in your windows/system32 directory. TASKKILL /im notepad.exe will kill the notepad propgram in its tracks.
By the way - there are a ton of WINDOWS commands available as DOS programs in XP
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.