This utility was inspired by the Unix/Linux kill and pkill utilities. I needed a way to safely kill an application in
such a way that it had time to perform normal cleanup procedures. Windows has no such capability (that I could find,
anyway). Close quite simply searches the running Window list to matching applications. Two actions can be performed
on matching applications:
| Close |
Sends a close message to the application, just as if you had closed the window with your mouse.
This is the safest method, as each application will prompt you to save changes, if applicable. |
| Exit |
Forces the application to exit. Unsaved changes will be lost, but the application is pretty much
guaranteed to go away. |
Hopefully, the help output below will be everything you need to understand the usage.
Requirements
- Microsoft Windows: probably any version. I run it on 2000. Please let me
know your experience on other versions.
DownloadBy downloading this software, you agree to the terms listed at the bottom of this page.
close_0.1.zip (27kb) v0.1, March 30, 2003
Usage
close v0.1 Copyright (c) 2002,2003, Rob Kodey. http://www.Kodey.com/software
Close running applications by NAME, using one of a variety of methods.
Usage:
close [Switches]... NAME
Switches:
-?, -help Show this help screen and exit.
-l, -list List all applications, not just the matches. Matching
applications will be noted. Actions (if specified) will
be performed on matches only.
-i, -ignore-case Ignore case when matching application names.
-c, -close Close matching applications. This is the safest method,
as each matching application will prompt you to save
changes, if applicable.
-x, -exit Force matching applications to exit. Unsaved changes will
be lost.
Arguments:
NAME The application name, or partial name, to search for.
(Required)
|