Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
March 05, 2003 Output directory can't contain spaces | ||||
---|---|---|---|---|
| ||||
This is similar to the problem I had on 3-2-03. I am using the -ofilename option to send the output file to a different directory. The directory name contains spaces (Documents and Settings). I enclose the file path in quotes, but when it is passed to the linker the quotes are omitted and the linker can't find the file. I have tried it in both the command line and as an environmental variable. Is there a way around this, or do I need to use directories without spaces? Thanks, jimp |
March 05, 2003 Re: Output directory can't contain spaces | ||||
---|---|---|---|---|
| ||||
Posted in reply to jimp | In article <b451bj$1p2c$1@digitaldaemon.com>, jimp says... >Is there a way around this, or do I need to use directories without spaces? no spaces. I would also suggest you use the <drive>:\dm as the install directory for dm. Richard |
March 05, 2003 Re: Output directory can't contain spaces | ||||
---|---|---|---|---|
| ||||
Posted in reply to Richard Grant | In article <b451bj$1p2c$1@digitaldaemon.com> wrote: >Is there a way around this, or do I need to use directories without spaces? Have you tried with subst x: "c:\program filer\whatever" ? Gisle V. |
March 06, 2003 Re: Output directory can't contain spaces | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gisle Vanem | I don't understand what you mean by subst x: How do I do this? "Gisle Vanem" <gvanem@eunet.no> wrote in message news:b45bil$1vpe$1@digitaldaemon.com... > > Have you tried with subst x: "c:\program filer\whatever" ? > > Gisle V. > > |
March 06, 2003 Re: Output directory can't contain spaces | ||||
---|---|---|---|---|
| ||||
Posted in reply to jimp | 'subst' is a windows command. Try it on the command prompt (dos prompt) like this: ------------------------------------------------------------------------ C:\>subst /? Associates a path with a drive letter. SUBST [drive1: [drive2:]path] SUBST drive1: /D drive1: Specifies a virtual drive to which you want to assign a path. [drive2:]path Specifies a physical drive and path you want to assign to a virtual drive. /D Deletes a substituted (virtual) drive. Type SUBST with no parameters to display a list of current virtual drives. C:\> ------------------------------------------------------------------------ With subst you are able the make a certain direcory appear as the root of a drive. Like: c:\>subst S: "c:\Program Files\DMC" now you have a S: drive C:\>S: S:\> S:\>dir The dir list of c:\Program Files\DMC\ jimp wrote: > I don't understand what you mean by subst x: > How do I do this? > > > "Gisle Vanem" <gvanem@eunet.no> wrote in message > news:b45bil$1vpe$1@digitaldaemon.com... > >>Have you tried with subst x: "c:\program filer\whatever" ? >> >>Gisle V. >> >> > > > |
March 06, 2003 Re: Output directory can't contain spaces | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Looks like it might work. I think it might be useful for any number of things. Thanks for the info. jimp "Arjan Knepper" <ask@me.to> wrote in message news:b46vjm$2v61$1@digitaldaemon.com... > 'subst' is a windows command. Try it on the command prompt (dos prompt) > like this: > |
Copyright © 1999-2021 by the D Language Foundation