I'm afraid that there are some syntax issues:
Code:(startapp "explorer" (getvar "dwgprefix"))Also, don't forget to end the above macros with a space.Code:(startapp "H:\\my_program.exe")
Registered forum members do not see this ad.
Who'd have thought there I'd have so many questions. I read an article just now which suggested using the startapp command in one of my custom menu items like this:
^C^C^P(startapp "explorer" (getvar "dwgprefix")
While this does open Windows Explorer it still does not allow me to open it up with the desired folder location. But I'm still working on that one.
So this morning I tried this:
^C^C^P(startapp "H:\my_program.exe")
When I selected the option in our new pull-down menu nothing really happened. It just kind of sat there. So I did this on the command line:
(startapp "H:\my_program.exe")
and it opened up just fine. I can't seem to find why it will not work from the menu item but it will from the command line.
I'm afraid that there are some syntax issues:
Code:(startapp "explorer" (getvar "dwgprefix"))Also, don't forget to end the above macros with a space.Code:(startapp "H:\\my_program.exe")
Regards,
Mircea
AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3
Oh yes, that would be a problem. I also discovered the forward slash in lieu of backslash issue or double backslash. Thank you for your kind assistance.
Brenda Tanner,
Please read the CODE POSTING GUIDELINES and edit your post to include code tags.
“A narrow mind and a fat head invariably come on the same person” Zig Zigler
![]()
Registered forum members do not see this ad.
Thank you for the advice. I will read the suggested guidelines right away. Thanks for all the assistance thus far.
Bookmarks