From: mad AT intersurf DOT com (Mike Demoulin) Newsgroups: comp.os.msdos.djgpp Subject: Re: What is the canonical way to find out if a file exists (in g++)? References: Message-ID: User-Agent: slrn/0.9.5.7 (Windows) Lines: 10 Date: Thu, 06 Jan 2000 16:05:41 GMT NNTP-Posting-Host: 216.115.146.142 X-Complaints-To: news AT intersurf DOT net X-Trace: dim.intersurf.net 947174741 216.115.146.142 (Thu, 06 Jan 2000 10:05:41 CST) NNTP-Posting-Date: Thu, 06 Jan 2000 10:05:41 CST Organization: Intersurf Online, Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 6 Jan 2000 12:22:12 +0200 (IST), Eli Zaretskii wrote: > >If you are looking for a long file name on NT, DJGPP programs won't >find it. Try "dir /x" and look for the short 8+3 alias: that's all >DJGPP programs are allowed to see on NT. Is there a function to convert from an LFN to its 8+3 alias (without using the dir/x)?