PDA

View Full Version : Old DOS Shell Command


eschwartz
2005-10-31, 06:33 PM
I just upgraded to ACAD 2006 and am having a problem with a couple of old routines. One uses the Shell command to open a DOS window, do something the return to ACAD. In 2004 and before the Shell window held open and ACAD Waited until it was closed to continue. I remember setting a variable that told ACAD to wait until the window closed before continuing. In 2006 ACAD is opening the window and the continuing on.

Does anyone know what that variable was in 2004 and before. The choices were something like.

1) open window and continue with ACAD command prompts
2) open window and wait until window closes to continue.

I'm not sure I am in the right forum but I hope someone has the answer.

Thanks.

Ed Jobe
2005-10-31, 06:38 PM
That's set in your pgp file and the instructions are in the header.

Opie
2005-10-31, 06:41 PM
What does your acad.pgp file show for the shell command? How do you execute your old routine?

kennet.sjoberg
2005-10-31, 06:57 PM
check this link (http://forums.augi.com/showthread.php?t=19825&page=1&pp=10&highlight=shell)

: ) Happy Computing !

kennet

eschwartz
2005-10-31, 07:03 PM
Ed know his stuff.

SHELL, , 0,*OS Command:, (acad waits for window to close)
SHELL, , 1,*OS Command:, (acad starts its window and continues)

Thanks