Mail Archives: djgpp-workers/2000/03/03/09:26:44
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 -