Message-ID: <369D2CB2.93CCCA2E@cadvision.com> Date: Wed, 13 Jan 1999 16:30:59 -0700 From: Tim Hoskins Organization: Anarchy Inc. X-Mailer: Mozilla 4.06 [en] (Win95; U) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: LFN in Win95? How do I do it? Content-Type: multipart/mixed; boundary="------------62B6E9983CA1A2E0276EC900" NNTP-Posting-Host: 207.228.79.137 X-NNTP-Posting-Host: 207.228.79.137 X-Trace: 13 Jan 1999 16:31:07 -0700, 207.228.79.137 Lines: 76 X-NNTP-Posting-Host: 204.50.1.43 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --------------62B6E9983CA1A2E0276EC900 Content-Type: multipart/alternative; boundary="------------A501F1873E058CC53208A545" --------------A501F1873E058CC53208A545 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey all, Although I've been programming with C for several years, I have a problem dealing with Long File Names in Win95's DOS Box. Here is a snippet of code. if(!_dos_findfirst("*.*", _A_NORMAL, &ffblk)) { printf("%s\n", ffblk.name); do while (!_dos_findnext(&ffblk)) printf("%s\n", ffblk.name); } Can anybody tell me how to get DJGPP to output the filenames as long file names instead of short ones? Thanks in advance Tim Hoskins --------------A501F1873E058CC53208A545 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hey all,
    Although I've been programming with C for several years, I have a problem dealing with Long File Names in Win95's DOS Box.
Here is a snippet of code.

    if(!_dos_findfirst("*.*", _A_NORMAL, &ffblk))
    {
        printf("%s\n", ffblk.name);
        do while (!_dos_findnext(&ffblk))
            printf("%s\n", ffblk.name);
    }

Can anybody tell me how to get DJGPP to output the filenames as long file names instead of short ones?

Thanks in advance

Tim Hoskins <hoskinst AT cadvision DOT com> --------------A501F1873E058CC53208A545-- --------------62B6E9983CA1A2E0276EC900 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Parental Advisory Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Parental Advisory n: Advisory;Parental org: Anarchy Inc. adr: RR#2;;;Crossfield;Alberta;T0M 0S0;Canada email;internet: hoskinst AT cadvision DOT com title: Head Honcho tel;work: (403) 946-4220 tel;fax: (403) 946-4220 tel;home: (403) 946-4220 x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard --------------62B6E9983CA1A2E0276EC900--