Date: Wed, 1 Jul 1998 11:50:54 +0300 (IDT) From: Eli Zaretskii To: Bill Currie cc: djgpp AT delorie DOT com Subject: Re: Question: getcwd() and LongFileName support In-Reply-To: <3599E930.CADB651D@taniwha.tssc.co.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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?