Jump to content

Recommended Posts

Posted

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.

Posted

I'm afraid that there are some syntax issues:

(startapp "explorer" (getvar "dwgprefix")[color=red])[/color]

(startapp "H:\[color=red]\[/color]my_program.exe")

Also, don't forget to end the above macros with a space.

Posted

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.

Posted

Thank you for the advice. I will read the suggested guidelines right away. Thanks for all the assistance thus far.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...