Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.os2.programmer.misc > #333
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Andreas Schnellbacher <aschn@despammed.com> |
| Newsgroups | comp.os.os2.programmer.tools, comp.os.os2.programmer.misc |
| Subject | DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) |
| Date | Mon, 04 Jul 2011 00:44:40 +0200 |
| Organization | eComStation (OS/2 4.52); mail composed and formatted with EPM editor (http://nepmd.netlabs.org) |
| Lines | 29 |
| Message-ID | <97c9mpF42tU1@mid.uni-berlin.de> (permalink) |
| References | <4dfdcf49$0$7624$9b4e6d93@newsspool1.arcor-online.net> <o8uYFJ3iqTdG-pn2-lddw7WF8YUTz@localhost> <o8uYFJ3iqTdG-pn2-dKTjwP0UB8sB@localhost> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de y2l5A8FTtNvAXJbXqLhuywYKGh7gse/D16fgObQKoB+91ZqQA= |
| User-Agent | Mozilla/5.0 (OS/2; Warp 4.5; rv:2.0.1) Gecko/20110611 Firefox/4.0.1 SeaMonkey/2.1 |
| In-Reply-To | <o8uYFJ3iqTdG-pn2-dKTjwP0UB8sB@localhost> |
| Xref | x330-a1.tempe.blueboxinc.net comp.os.os2.programmer.tools:16 comp.os.os2.programmer.misc:333 |
Cross-posted to 2 groups.
Show key headers only | View raw
A.D. Fundum wrote: >> One should be able to detect the case of the S, at least with HPFS >> and JFS. > > As an aside: is there an API or function which consistenly returns > the case of a directory as-is, with or without the drive letter? > > Directory (full path: "D:\Download\Database\Europe\CAC40) with both > _getcwd and the DosQueryCurrentDir API: > > [D:\download\database\europe\cac40]c:printdir > D:\download\database\europe\cac40 > > But after those steps: > > D: > CD \ > CD Download > > The output (and eCS' $p$g-prompt) then isn't "D:\download" but > "D:\Download"... A combination of DosQueryPathInfo with DosFind* works for me. (DosFindNext returns the correct case, so SysFileTree may work as well for REXX.) -- Andreas Schnellbacher
Back to comp.os.os2.programmer.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Force gnu assembler to invoke the preprocessor "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-03 16:46 +0200
DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) Andreas Schnellbacher <aschn@despammed.com> - 2011-07-04 00:44 +0200
Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-04 11:09 +0200
Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-21 22:54 +0200
Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-24 12:23 +0200
Re: DosQueryPathInfo with correct case (was: Force gnu assembler to invoke the preprocessor) "A.D. Fundum" <what.ever@neverm.ind> - 2011-07-24 12:32 +0200
csiph-web