Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Spaces in path to start application from autocad

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
321 Views, 4 Replies

Spaces in path to start application from autocad

Hi, I'm trying to add a menu in my custom menu that will lauch an excel file where the path contains spaces. Before posting, i researched for about 5 days on how to go around spaces in path but did not find a solution. can anyone correct what I'm doing wrong? Show Project listing works fine because the are no spaces. Show project listing2 has spaces and cannot lauch the excel file. Thanks in advance for any assistance, Connie ***POP1 [&STD] [->HELP FILES] ID_Show Project Listing_0 [Show Project Listing]_start; H://CEG_DESIGN_CENTER/2Cad_Support/Support/Current_Project_Listing.xls; ID_Show Project Listing2_0 [Show Project Listing2]_start; "H://CEG ACTIVE PROJECTS LIST/Current Project Listing.XLS";
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

place it in quotes "some file" "connie" wrote in message news:424ddcf9$1_3@newsprd01... > Hi, > I'm trying to add a menu in my custom menu that will lauch an excel file > where the path contains spaces. Before posting, i researched for about 5 > days on how to go around spaces in path but did not find a solution. > can anyone correct what I'm doing wrong? > Show Project listing works fine because the are no spaces. Show project > listing2 has spaces and cannot lauch the excel file. > > Thanks in advance for any assistance, > > Connie > > > > ***POP1 > [&STD] > [->HELP FILES] > ID_Show Project Listing_0 [Show Project Listing]_start; > H://CEG_DESIGN_CENTER/2Cad_Support/Support/Current_Project_Listing.xls; > ID_Show Project Listing2_0 [Show Project Listing2]_start; "H://CEG ACTIVE > PROJECTS LIST/Current Project Listing.XLS"; >
Message 3 of 5
Anonymous
in reply to: Anonymous

try to add a couple of "\042" at the start and end of the file path string
Message 4 of 5
Anonymous
in reply to: Anonymous

I tried that, that didnt work. Thanks for helping tho, connie "Paul Richardson" wrote in message news:424de1ea$1_3@newsprd01... > place it in quotes "some file" > "connie" wrote in message > news:424ddcf9$1_3@newsprd01... >> Hi, >> I'm trying to add a menu in my custom menu that will lauch an excel file >> where the path contains spaces. Before posting, i researched for about 5 >> days on how to go around spaces in path but did not find a solution. >> can anyone correct what I'm doing wrong? >> Show Project listing works fine because the are no spaces. Show project >> listing2 has spaces and cannot lauch the excel file. >> >> Thanks in advance for any assistance, >> >> Connie >> >> >> >> ***POP1 >> [&STD] >> [->HELP FILES] >> ID_Show Project Listing_0 [Show Project Listing]_start; >> H://CEG_DESIGN_CENTER/2Cad_Support/Support/Current_Project_Listing.xls; >> ID_Show Project Listing2_0 [Show Project Listing2]_start; "H://CEG ACTIVE >> PROJECTS LIST/Current Project Listing.XLS"; >> > >
Message 5 of 5
Anonymous
in reply to: Anonymous

i tried your suggestion. ID_Show Current Project Listing6_0 [Show Current Project Listing6]_start;"042\H:\CEG ACTIVE PROJECTS LIST\Current Project Listing.XLS\042"; Thanks for your help. "kozmos" wrote in message news:30035711.1112424500491.JavaMail.jive@jiveforum2.autodesk.com... > try to add a couple of "\042" at the start and end of the file path string

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report