Thread overview
link.exe windows
Nov 12, 2004
Ant
Nov 12, 2004
Joey Peters
Nov 12, 2004
Ant
Nov 13, 2004
Ant
Nov 13, 2004
Charles
November 12, 2004
does link.exe support directory names with spaces? How?

Ant


November 12, 2004
In article <cn2k3a$k09$1@digitaldaemon.com>, Ant says...
> 
>does link.exe
>support directory names with spaces? How?
> 
>Ant

I think not, but try quotes or replacing spaces with %20? Maybe even use the
old DOS naming, Adirxxx~1 etc.


November 12, 2004
In article <cn2lom$m3o$1@digitaldaemon.com>, Joey Peters says...
>
>In article <cn2k3a$k09$1@digitaldaemon.com>, Ant says...
>> 
>>does link.exe
>>support directory names with spaces? How?
>> 
>>Ant
> 
>I think not, but try quotes or replacing spaces with %20? Maybe even use the old DOS naming, Adirxxx~1 etc.

yeah, quotes didn't work. I doubt %20 but I'll try it. thanks.

Ant




November 13, 2004
On Fri, 12 Nov 2004 16:17:29 +0000, Ant wrote:

> In article <cn2lom$m3o$1@digitaldaemon.com>, Joey Peters says...
>>
>>In article <cn2k3a$k09$1@digitaldaemon.com>, Ant says...
>>> 
>>>does link.exe
>>>support directory names with spaces? How?
>>> 
>>>Ant
>> 
>>I think not, but try quotes or replacing spaces with %20? Maybe even use the old DOS naming, Adirxxx~1 etc.
> 
> yeah, quotes didn't work. I doubt %20 but I'll try it. thanks.
> 
> Ant

no, %20 doesn't seem to work.

DOS naming doesn't seem valid to me.

looks like spaces are out.

how nice:
the users home directory is "\Documents and Settings\....."
but we can't use it.

I despair...

\|||/
 O x
  |
 ~~~

well, back to the strugle...

Ant

November 13, 2004
DOS naming works, win32's GetShortPathName is what you need.

a simple C++ func :


inline string shortPathName(const string& path ) {
char buffer[MAX_PATH+1];
GetShortPathName(path.c_str(),buffer,MAX_PATH+1);
return buffer;
}




In article <pan.2004.11.13.04.00.49.401118@yahoo.ca>, Ant says...
>
>On Fri, 12 Nov 2004 16:17:29 +0000, Ant wrote:
>
>> In article <cn2lom$m3o$1@digitaldaemon.com>, Joey Peters says...
>>>
>>>In article <cn2k3a$k09$1@digitaldaemon.com>, Ant says...
>>>> 
>>>>does link.exe
>>>>support directory names with spaces? How?
>>>> 
>>>>Ant
>>> 
>>>I think not, but try quotes or replacing spaces with %20? Maybe even use the old DOS naming, Adirxxx~1 etc.
>> 
>> yeah, quotes didn't work. I doubt %20 but I'll try it. thanks.
>> 
>> Ant
>
>no, %20 doesn't seem to work.
>
>DOS naming doesn't seem valid to me.
>
>looks like spaces are out.
>
>how nice:
>the users home directory is "\Documents and Settings\....."
>but we can't use it.
>
>I despair...
>
>\|||/
> O x
>  |
> ~~~
>
>well, back to the strugle...
>
>Ant
>