Sender: root AT delorie DOT com Message-ID: <38BFC94A.2414ED3C@inti.gov.ar> Date: Fri, 03 Mar 2000 11:16:42 -0300 From: salvador Organization: INTI X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.38 i686) X-Accept-Language: es-AR, en, es MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: short file names when using LFN References: <38BD6169 DOT BAFB42CE AT teleline DOT es> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id JAA31038 Reply-To: djgpp-workers AT delorie DOT com Mariano Alvarez Fernández wrote: > > putenv ("LFN=n"); > > _truename (long_name, short_name); > > putenv ("LFN=y"); > > > > No, sorry, this don't work to get the real sfn of a file. I use a similar trick in my installer to generate the .pif file for the editor (it must use the SFN) and works really well. But I use it for getcwd (I change directory, do getcwd and then go back to the original dir). SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org set AT ieee DOT org set-soft AT bigfoot DOT com Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013