How to close a program that u have opened? :~~

How to close a program that u have opened? :~~

Anonymous
Not applicable
396 Views
1 Reply
Message 1 of 2

How to close a program that u have opened? :~~

Anonymous
Not applicable

Hello everybody,

 

i have a code that open PDFCreator,

 

but i have to close it, and i dunno how can i do that.

 

i use to open: Shell ("C:\Program Files\PDFCreator\PDFCreator.exe")

 

any idea guys?

 

Thanks for any. 😃

0 Likes
Accepted solutions (1)
397 Views
1 Reply
Reply (1)
Message 2 of 2

YuhanZhang
Autodesk
Autodesk
Accepted solution

Try taskkill.exe.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes