Hello,
Unlike it's counterpart taskill, tskill does not exit gracefully*.
Is there a utility which functions like taskill/tskill but permits exiting gracefully and can be executed as part of a batch file?
I downloaded pskill from sysinternals, and it doesn't seem to permit exiting gracefully.
For reference, feel free to read this thread:
TSGL: Batch file command to terminate in XP
*To demonstrate:
XP Home
-----------------------
Sequence of tasks:
opened word, typed some text, saved the file to the desktop, typed more text, opened cmd and executed "tskill WINWORD", opened the text file I saved
I got the recovery message and windows autorecovery feature to appear. Finally, get this, the text I typed after saving the file was missing (probably because autosaves saves in intervals and I didn't allow enough time for it to be invoked?)
XP Pro
-------------
Did the same sequence of steps as above.
Before exiting due to taskill, I was prompted if I wanted to save my changes. This is certainly graceful.
When I executed a taskill /F, it did not prompt me and results were the same as observed with XP Home (autorecovery, etc)
Unlike it's counterpart taskill, tskill does not exit gracefully*.
Is there a utility which functions like taskill/tskill but permits exiting gracefully and can be executed as part of a batch file?
I downloaded pskill from sysinternals, and it doesn't seem to permit exiting gracefully.
For reference, feel free to read this thread:
TSGL: Batch file command to terminate in XP
*To demonstrate:
XP Home
-----------------------
Sequence of tasks:
opened word, typed some text, saved the file to the desktop, typed more text, opened cmd and executed "tskill WINWORD", opened the text file I saved
I got the recovery message and windows autorecovery feature to appear. Finally, get this, the text I typed after saving the file was missing (probably because autosaves saves in intervals and I didn't allow enough time for it to be invoked?)
XP Pro
-------------
Did the same sequence of steps as above.
Before exiting due to taskill, I was prompted if I wanted to save my changes. This is certainly graceful.
When I executed a taskill /F, it did not prompt me and results were the same as observed with XP Home (autorecovery, etc)