JSI Tip 0431 - Freeware Close gracefully stops an application from the command line.

The Windows NT Resource Kit provided Kill to forceably stop an application from the command line or batch file.

Alexander Frink brings us close. to gracefully stop an application from the command line or batch.

To use close:

Close "Title Bar text"

where Title Bar text is case sensitive and may end in a * (wildcard).

Typing Close at a command prompt displays a short help.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish