Auto Lisp for calling an EXE

Auto Lisp for calling an EXE

sivaulagu
Contributor Contributor
1,037 Views
3 Replies
Message 1 of 4

Auto Lisp for calling an EXE

sivaulagu
Contributor
Contributor

Hi all,

I'm find issue in opening a standalone EXE through AutoLISP.

 

when i use the folder path of the EXE without spcae, then it works.

 

(defun c:calloutchk()
(command "sh" "d://visualstudio2015/Debug/FormApplication.exe"))

 

when i use the folder path of the EXE with spcae, then it is not working.

 

(defun c:calloutchk()
;;(command "sh" "C://Users/90001284/Documents/Visual%20Studio%202015/Projects/Drawing%20Call%20out%20checkig/FormApplication/bin/Debug/FormApplication.exe"))

 

Kindly please Help

 

 

0 Likes
1,038 Views
3 Replies
Replies (3)
Message 2 of 4

hmsilva
Mentor
Mentor

Try

 

(defun c:calloutchk()
(command "sh"  (strcat "\"" "C:\\Users\\90001284\\Documents\\Visual Studio 2015\\Projects\\Drawing Call out checkig\\FormApplication\\bin\\Debug\\FormApplication.exe"  "\"")))

 

Hope this helps,
Henrique

EESignature

0 Likes
Message 3 of 4

sivaulagu
Contributor
Contributor

Tried using that comment.....

 

But it does'nt work....

 

I've used startapp it works....

 

Thanks for your reply

0 Likes
Message 4 of 4

hmsilva
Mentor
Mentor

@sivaulagu wrote:

Tried using that comment.....

 

But it does'nt work....

 

I've used startapp it works....

 

Thanks for your reply


You're welcome, sivaulagu.
Glad you got it working! 🙂

Henrique

EESignature

0 Likes