Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Occurances of CMD.exe

Status
Not open for further replies.

JesseH

MIS
Aug 9, 2001
63
US
I have the call shell command with the parameter below
Quote MDString = "cmd.exe /c \\Drawing\d\Progra~1\AutoCA~1\aclt.exe \\drawing\d\acadwork\m2cp.dwg /b \\Drawing\D\ACAD.scr" EndQuote

It works fine. The problem is that the cmd.exe does not close and soon we have hundreds of cmd.exe running and that brings down the system. I am looking for a way to close the Dos window or kill the command.

Thanks in Advance for the help.
 
And what about simply this ?
MDString = "\\Drawing\d\Progra~1\AutoCA~1\aclt.exe \\drawing\d\acadwork\m2cp.dwg /b \\Drawing\D\ACAD.scr"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top