delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/26/17:56:29

From: "Mike C" <My DOT address AT end DOT of DOT post>
Newsgroups: comp.os.msdos.djgpp
Subject: Long file name support
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Inktomi-Trace: pc5-cbly1-4-cust20.glfd.cable.ntl.com 1061931775 13415 80.6.46.20 (26 Aug 2003 21:02:55 GMT)
Message-ID: <GWP2b.1404$nu6.523@newsfep1-gui.server.ntli.net>
Date: Tue, 26 Aug 2003 20:26:06 +0100
NNTP-Posting-Host: 80.1.224.4
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: newsfep1-gui.server.ntli.net 1061931814 80.1.224.4 (Tue, 26 Aug 2003 22:03:34 BST)
NNTP-Posting-Date: Tue, 26 Aug 2003 22:03:34 BST
Organization: ntl News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Folks,

I have written a utility that operates on a source file and creates a new
target file in the same directory. My OS is Win2K.
To use my program, I choose the source file with Disk Explorer, drag it onto
the desktop, and drop it onto a link to my DJGPP-compiled program. The
program operates and creates a new file with the same path and file name as
the source, but with a different extension - only the file name gets
shortened from

PathName\MyLongFileName.EFT    to
PathName\MyLong~1.EFT

I saw in the FAQ that the environment variable LFN=y must be set, but I have
checked that and it is set in DJGPP.ENV
I also read the installation notes, and I see that long file name support
requires a TSR to be running, but it was not clear to me whether this was
only to allow the files of the DJGPP distribution to have long file names,
or whether it would give LFN support to programs compiled under DJGPP. If
the latter is true, would any other PC that wanted to execute my program
also have to be running the TSR?

Many thanks,

Mike.
--
WARNING: My e-mail return address is bogus to confuse the automated spam
address gatherers.
Mental decryption required:
mikabel#ntlworld*com
where (# = @) & (* = .)


- Raw text -


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