[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Re: djgpp and uppercase vs. lowercase file names
From: |
Eli Zaretskii |
Subject: |
Re: [Devel] Re: djgpp and uppercase vs. lowercase file names |
Date: |
Mon, 22 Nov 2004 17:51:27 +0200 |
> From: Ned Konz <address@hidden>
> Date: Sat, 20 Nov 2004 10:13:20 -0800
> Cc: Werner LEMBERG <address@hidden>,
> address@hidden
>
> But you *can* check the existence of %windir%\system32\cmd.exe and use it if
> you find it (or is it better to use %SystemRoot%\system32\cmd.exe instead?).
That wouldn't work reliably: Windows 9X doesn't have SystemRoot, and
its system directory is %windir%\system, not %windir%\system32.
Its seems that the most reliable method is to look at the OS
environment variable: if it is set and its value is "Windows_NT", then
use cmd.exe, otherwise use command.com. I tested this on W2K, XP, and
Windows 98. So this is my recommendation.
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, (continued)
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Eli Zaretskii, 2004/11/21
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Werner LEMBERG, 2004/11/21
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Eli Zaretskii, 2004/11/21
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Antoine Leca, 2004/11/22
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Eli Zaretskii, 2004/11/22
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Antoine, 2004/11/23
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Eli Zaretskii, 2004/11/23
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Antoine Leca, 2004/11/23
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Werner LEMBERG, 2004/11/23
- Re: [Devel] Re: djgpp and uppercase vs. lowercase file names, Eli Zaretskii, 2004/11/23
Re: [Devel] Re: djgpp and uppercase vs. lowercase file names,
Eli Zaretskii <=