Script to stop a running program?

D

DH

Here is my problem: I run Peachtree 2006 and 2007. Because Peachtree leaves
a program running after it is exited, I can not run another version unless I
stop the program via "task manager". We are running XP boxes. Because
some of the people in the office are computer challenged, I would like to
have a script/bat file, with a shortcut on the desktop, that would stop the
program. Note, it is a program an not a process.

Thanks in advance,

Dave H.
 
P

Pegasus

DH said:
Here is my problem: I run Peachtree 2006 and 2007. Because Peachtree
leaves a program running after it is exited, I can not run another version
unless I stop the program via "task manager". We are running XP boxes.
Because some of the people in the office are computer challenged, I would
like to have a script/bat file, with a shortcut on the desktop, that would
stop the program. Note, it is a program an not a process.

Thanks in advance,

Dave H.

Place this batch file into c:\Windows, then create a desktop
shortcut that points to it:

@echo off
taskkill /T /F /IM "Peachtree"
 
L

Lanwench [MVP - Exchange]

DH said:
Here is my problem: I run Peachtree 2006 and 2007. Because Peachtree
leaves a program running after it is exited, I can not run another
version unless I stop the program via "task manager". We are running
XP boxes. Because some of the people in the office are computer
challenged, I would like to have a script/bat file, with a shortcut
on the desktop, that would stop the program. Note, it is a program
an not a process.
Thanks in advance,

Dave H.

In addition to Pegasus' reply, is Peachtree *supposed* to do this for some
reason? If so, it's odd - and if not, I think it might be wise to
concentrate on fixing that problem.
 
D

DH

"Lanwench [MVP - Exchange]"
In addition to Pegasus' reply, is Peachtree *supposed* to do this for some
reason? If so, it's odd - and if not, I think it might be wise to
concentrate on fixing that problem.

The problem is that we started a new company in 2007. Because we had
corrupted data from years past, we could not purge. The data file has
gotten too large, thus we started a new company. Well, Peachtree runs and
then leaves an engine running if you quit the program, regardless of the
version. When you try to start the other version, it gives you an error
that the program is already running.

Because some of the employees of this company are computer challenged, they
can not grasp the idea that you have to start task manager, find the
program, and end now. I am just trying to make it easy.

Thanks for the replies,

Dave H.
 
L

Lanwench [MVP - Exchange]

DH said:
"Lanwench [MVP - Exchange]"
In addition to Pegasus' reply, is Peachtree *supposed* to do this
for some reason? If so, it's odd - and if not, I think it might be
wise to concentrate on fixing that problem.

The problem is that we started a new company in 2007. Because we had
corrupted data from years past, we could not purge. The data file has
gotten too large, thus we started a new company. Well, Peachtree
runs and then leaves an engine running if you quit the program,
regardless of the version. When you try to start the other version,
it gives you an error that the program is already running.

Because some of the employees of this company are computer
challenged, they can not grasp the idea that you have to start task
manager, find the program, and end now. I am just trying to make it
easy.
Thanks for the replies,

Dave H.

Sure - understood.
 
D

DH

Pegasus said:
Place this batch file into c:\Windows, then create a desktop
shortcut that points to it:

@echo off
taskkill /T /F /IM "Peachtree"

Better late than never, thank you, it worked and I am indebted.

Dave H.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top