Brenda Tanner Posted July 10, 2012 Posted July 10, 2012 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. Quote
MSasu Posted July 10, 2012 Posted July 10, 2012 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. Quote
Brenda Tanner Posted July 10, 2012 Author Posted July 10, 2012 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. Quote
SLW210 Posted July 10, 2012 Posted July 10, 2012 Brenda Tanner, Please read the CODE POSTING GUIDELINES and edit your post to include code tags. Quote
Brenda Tanner Posted July 10, 2012 Author Posted July 10, 2012 Thank you for the advice. I will read the suggested guidelines right away. Thanks for all the assistance thus far. Quote
Recommended Posts
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.