Well, on Windows NT there's an easy enough workaround. Just
use the SUBST command to alias the path with spaces to a
drive letter, for example:
subst T: "C:\Program Files\Microsoft Visual Studio\VC98"
C:\>dir t:\
Volume in drive T has no label.
Volume Serial Number is 1CA4-E4BA
Directory of t:\
08/16/2000 11:35a <DIR> .
08/16/2000 11:35a <DIR> ..
08/16/2000 11:35a <DIR> ATL
08/16/2000 11:34a <DIR> Bin
08/16/2000 11:34a <DIR> CRT
08/29/2000 06:49p <DIR> Include
08/16/2000 11:36a <DIR> Lib
08/16/2000 11:35a <DIR> MFC
0 File(s) 0 bytes
8 Dir(s) 7,705,509,888 bytes free
That should work.
c
At 04:43 PM 9/4/2000 -0400, you wrote:
>%% Chad Loder <[EMAIL PROTECTED]> writes:
>
> cl> Well, I think I found the source of the problem. I'm not
> cl> sure if this should be considered a bug or not, but the
> cl> tokenizing functions do not consider whether the separating
> cl> whitespace has been escaped or not.
>
>The short answer is, you can't manage filenames with whitespace in them
>in GNU make (or any other make, really). The simplest thing to do is
>rename your files and directories :(.
>
>The longer answer is, to do so you have to replace the space with some
>other character for manipulation in the makefile, then _only_ at the
>last second (in the command script itself, typically) can you convert it
>back using $(subst).
>
>Note that make can't just use \ to escape a space; there are far too
>many variables and functions where the \ is used now and expected to be
>a literal. At one time (a _long_ time ago) it might have been possible,
>now it's impossible.
>
>Further, any attempt at using another escape char would have to be
>seriously considered. Note that it's not just functions where this
>would have to be done, but everywhere. There are lots of places where
>whitespace is considered to be a delimiter with no attention paid to
>escape chars.
>
>--
>---------------------------------------------------------------------------
----
> Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
> http://www.gnu.org http://www.paulandlesley.org/gmake/
> "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist
>