Help
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Help

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
ganesh
Guest





Posted: Wed Mar 23, 2005 10:04 am    Post subject: Help Reply with quote

Is it possible to return LISP after executing another application through
LISP

Back to top
GTVic
Guest





Posted: Wed Mar 23, 2005 4:45 pm    Post subject: Re: Help Reply with quote

Hi, you shouldn't label your topic "Help" - not very informative... :)

You said "return LISP" did you mean "return to LISP"? If you meant something else like return a value to LISP then more details would be helpful.

There are a number of ways to execute another application via LISP and wait for it to complete. If the command line is complicated it might be easier to put it in a batch file (.bat or .cmd) and then execute the batch file.

There is the dos_execute function in the doslib functions.
(dos_execute "temp.cmd")

or
(command "shell" "test.cmd")

you can also try the (startapp ...) LISP function

also look at the START.EXE program options. Open a DOS prompt window and type START /?
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB