Computing.Net > Forums > Windows 2000 > Batch file to close program

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file to close program

Reply to Message Icon

Name: Joshua
Date: July 1, 2002 at 08:27:59 Pacific
Comment:

Has anyone wirtten a batch file or know of a program that I can use with win2k to close a program that is running. I have software running on my machine that needs to be closed before my backup runs. Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Marcus
Date: July 1, 2002 at 10:58:40 Pacific
Reply:

To shutdown any program you can use a small program called "PRCView" from http://www.teamcti.com/pview/prcview.htm
Download, unzip the program to a new folder and read on.

Write a .bat file containing this line:

pv –kf yourprogramhere.exe

Save the .bat file in the PRCView folder and then simply run this .bat file, or set the Windows Scheduler to run the .bat file at a specified time. Running the .bat file will instantly close the program.

/Marcus


0

Response Number 2
Name: Robert
Date: July 3, 2002 at 00:02:41 Pacific
Reply:

You could also try "kill.exe" from the MS resourcekit


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Batch file to close program

Sending batch files to background? www.computing.net/answers/windows-2000/sending-batch-files-to-background/36275.html

Batch file to close running process www.computing.net/answers/windows-2000/batch-file-to-close-running-process/62229.html

BATCH FILE TO LAUNCH DIAL-UP CONNECTION www.computing.net/answers/windows-2000/batch-file-to-launch-dialup-connection/25271.html