Hello Blair,

>> I'm just trying to see long filenames on a CD
>>
>> using DOSLFN 0.40c http://www.geocities.com/jadoxa/doslfn/doslfn.zip
>> and SHSUCDX  3.03 http://www.geocities.com/jadoxa/shsucdx/shcdx303.zip
>>
>> I can't find any way to see long filenames on the CD.

> I found that using the /~ switch with shsucdx and the /C+ switch with
> DOSLFN worked.

/~ was a VERY good idea

replaced in command, DIR.C

   void printLFNname(char *shortName,char *ext)
   ...
        if (strchr(shortName,'~') == NULL)      // ask for LFN only if necessary
                return;
with
        if (strlen(shortName) != 8)             // ask for LFN only if necessary
                return;


        ...
        if (stricmp(pathbuffer+pathlen+1, LFNEntry.FullName) == 0)
                {
                                        // they are - ignoring upper/lower case 
- identical
                return;
                }
        

thanks :))
                
Tom



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to