www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/01/04:51:18

Date: Wed, 1 Jul 1998 11:50:54 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
cc: djgpp AT delorie DOT com
Subject: Re: Question: getcwd() and LongFileName support
In-Reply-To: <3599E930.CADB651D@taniwha.tssc.co.nz>
Message-ID: <Pine.SUN.3.91.980701114906.12487X-100000@is>
MIME-Version: 1.0

On Wed, 1 Jul 1998, Bill Currie wrote:

> Yeah, it's called command.com.  if you cd into a directory using the
> SFN, the Windows LFN getcwd function returns the SFN :(.  Actually,
> that's not *quite* true, it returns whatever you typed (cd StUdLy into
> studly would return StUdLy, IIRC).  Just another reason to hat M$ :)

This does not happen to me.  I can type the name of the directory as I 
like, and it always shows in the prompt as the long name and is returned 
by getcwd as a long name.

What version of Windows do you have?  Are you sure you use command.com 
from that version of Windows?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019