Mail Archives: djgpp-workers/2002/05/26/05:37:39
Hello.
Eli Zaretskii wrote:
>
> > Date: Sat, 25 May 2002 11:08:18 +0100
> > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> >
> > Eli, BTW config.bat in Emacs CVS does 'cd lispintro' at one point. This
> > does not work if you've extracted the sources using SFN.
>
> Ugh. Does cmd.exe on NT support the usual trick to detect a
> non-existing directory? That is, will the following solve the
> problem?
>
> if exist lispintro\nul cd lispintro
> if exist lispintr\nul cd lispintr
Yes, just tried it and it works.
Rather than checking for nul, why not check for a file that you know exists in
lispintro (aka lispintr), say makefile or readme?
> I seem to recall that some recent Windows version (W2K? XP?) doesn't
> like this method, though. Hmm.
Yes, I don't think it works reliably. See Andrew Cottrell's mail entitled "Re:
Make 3.791 on Windows 2000 test" and dated Tue, 24 Jul 2001 22:28:43 +1000.
I believe Microsoft made changes to the support of the <directory>\<device
name> feature, because people were using it to exploit path-parsing problems
in Microsoft IIS on earlier versions of NT.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -