Date: Wed, 13 Dec 2000 13:45:11 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: George Snyder cc: djgpp AT delorie DOT com Subject: Re: Current Directory Switches to Short Format on NT In-Reply-To: <3A36C6DF.C42AF097@averstar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 12 Dec 2000, George Snyder wrote: > I wrote a trivial program which prints the result of getcwd(), built with MS > Dev Studio 6.0, and added it to the previous example. The first call returns > the long directory path as expected; the call after "ls.exe" returns the > short form: > > E:\Program Files > E:\gjs\C\Experiments\getcwd\Debug\getcwd.exe > getcwd = 'E:\Program Files' > > E:\Program Files > E:\gjs\gnu\bin\ls > AverStar Microsoft Visual Studio seti > Java RadView > Jikes Visigenic > > E:\PROGRA~1 > E:\gjs\C\Experiments\getcwd\Debug\getcwd.exe > getcwd = 'E:\PROGRA~1' I don't get it: if you built the program with Dev Studio, then it is not a DJGPP program, but an MSVC program, is it? If so, how is this all relevant to DJGPP, which is what this forum is all about? I thought we were talking about problems you had with DJGPP programs. I cannot help you with MSVC, because I don't use it and don't have it installed.