delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/03/03/09:26:44

Sender: root AT delorie DOT com
Message-ID: <38BFC94A.2414ED3C@inti.gov.ar>
Date: Fri, 03 Mar 2000 11:16:42 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1000301121652 DOT 12637M-100000 AT is> <38BD6169 DOT BAFB42CE AT teleline DOT es>
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



- Raw text -


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