Thanks guys! Worked like a charm. I appreciate the info and the link.
"Jimmy Brush" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| Also,
|
| Be aware that if the process you are attempting to kill is a system
| process (not running in your current session) or is otherwise
| protected, the script will need to run "as administrator" in order for
| it to succeed.
|
| This can be accomplished by executing the script from a
| "run-as-administratored" command prompt, or by specifying in task
| scheduler that you want the command line to run with highest
| privilege.
|
| --
| - JB
| Microsoft MVP - Windows Shell
|
| On Sun, 13 May 2007 10:51:30 -0400, "---Fitz---"
| <---Fitz---@INVALID.COM> wrote:
|
| >Thanks for the quick reply. I'll be in front of the Vista machine later
on
| >today and let you know. It works fine on my XP machine.
| >
| >---Fitz---
| >
| >"Guy Thomas" <(E-Mail Removed)> wrote in message
| >news:%(E-Mail Removed)...
| >| Dear Fitz
| >|
| >| Why not try VBScript?
| >|
| >|
http://computerperformance.co.uk/vbs...ocess_stop.htm
| >|
| >| Guy
| >|
| >| "---Fitz---" <---Fitz---@INVALID.COM> wrote in message
| >| news:%(E-Mail Removed)...
| >| > My situation is that I want to create a simple batch file to kill a
| >| > running
| >| > program by using the process name. I can to this in XP but can't get
it
| >| > to
| >| > work in Vista Home Premium. I've tried using PSKILL and TASKKILL
with
| >no
| >| > joy. My intent is to use it as a scheduled task to execute at 2:00
AM
| >to
| >| > kill a running program that has been started by an existing batch
file
| >at
| >| > midnight. Any help is appreciated.
| >| >
| >| >
| >|
| >|
| >