After shell, how to close xcopy instance?

S

sandal

If I run xcopy via shell, with the hidden option, I can't find a way to
close the instance of xcopy. Typical efforts like
http://www.mvps.org/access/api/api0025.htm don't work, because the class
name is not visible. I have a task id from shell, but I'm not sure how
to close an application using the task id.
 
S

sandal

Hi Roger

That is interesting but not sure it'd help. That code detects when a
process ends; I want to end a process. xcopy.exe just hangs around after
it's processed the command I sent it. I am able to 'know' when xcopy is
done, via testing for the expected result, but am not sure how to bump
off the still running copy of xcopy.exe.
 

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