Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 28, 2005 DMD doesn't like spaces in directories | ||||
---|---|---|---|---|
| ||||
I'm running WinXP and DMD 0.111. I use spaces in my directories (i.e. "c:\my documents\my code\d") and have been noticing that when I try to use these paths for the import flag, the compiler doesn't appear to like them; I get an error saying the compiler can't read whatever file it's looking for. It does however seem to work for source files... Has anyone else run into this? -Kramer |
January 29, 2005 Re: DMD doesn't like spaces in directories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kramer | Not to sound patronizing, but do you have double quotes around the pathname? |
January 29, 2005 Re: DMD doesn't like spaces in directories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley | In article <ctesvp$16d0$1@digitaldaemon.com>, Jarrett Billingsley says... > >Not to sound patronizing, but do you have double quotes around the pathname? > > Not at all, valid question. :) Yes. I've tried every combination I can think of: double quotes, single quotes, storing the directories in environment variables and quoting them... no luck. I really hope I'm just missing something here, because I would think it'd be important for the compiler to accept directories with spaces in them. If you or someone else has this working, /please/ let me know how you're doing it and on what platform. This isn't a show stopper to be sure, but it'd be nice. -Kramer |
January 29, 2005 Re: DMD doesn't like spaces in directories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kramer Attachments: | Kramer wrote: | In article <ctesvp$16d0$1@digitaldaemon.com>, Jarrett Billingsley | says... | |> Not to sound patronizing, but do you have double quotes around the |> pathname? | Not at all, valid question. :) Yes. I've tried every combination I | can think of: double quotes, single quotes, storing the directories | in environment variables and quoting them... no luck. I really hope | I'm just missing something here, because I would think it'd be | important for the compiler to accept directories with spaces in them. | | | If you or someone else has this working, /please/ let me know how | you're doing it and on what platform. This isn't a show stopper to | be sure, but it'd be nice. If you are on MSWindows you can use the "short DOS" name. Try: dir /x Thomas |
February 02, 2005 Re: DMD doesn't like spaces in directories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kramer | Just another shot in the dark: Did you try both variations "-IC:\path with space" and -I"C:\path with space"? "Kramer" <Kramer_member@pathlink.com> wrote in message news:ctgs9a$c8c$1@digitaldaemon.com... > In article <ctesvp$16d0$1@digitaldaemon.com>, Jarrett Billingsley says... >> >>Not to sound patronizing, but do you have double quotes around the pathname? >> >> > > > Not at all, valid question. :) Yes. I've tried every combination I can > think > of: double quotes, single quotes, storing the directories in environment > variables and quoting them... no luck. I really hope I'm just missing > something > here, because I would think it'd be important for the compiler to accept > directories with spaces in them. > > If you or someone else has this working, /please/ let me know how you're > doing > it and on what platform. This isn't a show stopper to be sure, but it'd > be > nice. > > -Kramer > > |
Copyright © 1999-2021 by the D Language Foundation