Groups | Search | Server Info | Login | Register
Groups > comp.os.os2.programmer.tools > #16
| 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 | 2011-07-04 00:44 +0200 |
| Organization | eComStation (OS/2 4.52); mail composed and formatted with EPM editor (http://nepmd.netlabs.org) |
| 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> |
Cross-posted to 2 groups.
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.tools | Previous | Next — Previous in thread | Next in thread | Find similar
Force gnu assembler to invoke the preprocessor Marcel Müller <news.5.maazl@spamgourmet.org> - 2011-06-19 12:28 +0200
Re: Force gnu assembler to invoke the preprocessor "A.D. Fundum" <what.ever@neverm.ind> - 2011-06-19 15:42 +0200
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
Re: Force gnu assembler to invoke the preprocessor Dave Yeo <dave.r.yeo@gmail.com> - 2011-06-19 11:24 -0700
csiph-web