> 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;
But also a filename shorter than 8 in length could still have spaces in the LFN, and the string case could be different, so even then it's hard to say... and Win98 behavior is to print all filenames in the LFN column even when they are identical to the SFNs. And yes, /~ I find is important especially when using LFNs because I found that when DOSLFN was installed, sometimes there would be two SFNs on the CD with identical filenames, which, needless to say, caused some problems :-). /~ removes that problem. And glad to help :-). -- Fall is my favorite season in Los Angeles, watching the birds change color and fall from the trees. David Letterman (1947 - ) See ya ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
