PC Review


Reply
Thread Tools Rate Thread

close application

 
 
point
Guest
Posts: n/a
 
      12th Dec 2004
I want to close an application at a 20 o'clock
with a batch file, every day.
It's possible?

My application is count.exe.
Thanks


 
Reply With Quote
 
 
 
 
Torgeir Bakken \(MVP\)
Guest
Posts: n/a
 
      12th Dec 2004
point wrote:

> I want to close an application at a 20 o'clock
> with a batch file, every day.
> It's possible?
>
> My application is count.exe.

Hi

Some command line based tool alternatives you could put into
e.g. a scheduled task:

A)
For Win2k, the microsoft command line tool kill.exe.

Kill.exe is in the Win2k Support Tools found on the Win2k CD,
\Support\Tools\Suptools.msi, or for the latest version of
Support Tools (should work on non-SP4 computers as well):
http://www.microsoft.com/windows2000...pporttools.asp

B)
If you have WinXP Pro or Win2k3 Server, the builtin taskkill.exe
is an option. In a command prompt, run taskkill.exe /? for help.


C)
Some freeware command line tools:

PsKill.exe in the free PsTools suite at
http://www.sysinternals.com/

Cmdow.exe
http://www.commandline.co.uk/cmdow/index.html





--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Launch External Application and Close main UI Application - VS 200 Ryan Microsoft VB .NET 2 11th Feb 2010 09:34 PM
Before Close Event Hide all Worksheets then Close Application RyanH Microsoft Excel Programming 0 24th Jan 2008 03:15 PM
How to make javascript close to work in c# windows application (Custom IE Application) Ashok Microsoft C# .NET 0 4th Jun 2004 04:55 PM
How to close an application when a button is clicked even when the application is running another process? Anderson Takemitsu Kubota Microsoft Dot NET Compact Framework 2 19th Aug 2003 12:47 AM
Windows application does not close when i press the close button Umut Tezduyar Microsoft Dot NET Framework Forms 7 14th Aug 2003 08:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:35 PM.