pcjs icon indicating copy to clipboard operation
pcjs copied to clipboard

diskutility.js - LFN Support?

Open petergeneric opened this issue 5 months ago • 1 comments

When I use diskutility.js to create an image, file names are case-preserved but truncated to 8.3 when viewed in the pcjs Windows 95 demo. It would be great if it could support 255 char LFN.

Commandline I'm using:

me@laptop:pcjs$ node tools/diskimage/diskimage.js --overwrite --dir /tmp/files/txt/ --output=disk-image.json --verbose -l

processing: txt (1228800 bytes, hash 314a7fc3b98b71c2b8151cd6b209a71f)

 Volume in drive A has no label
 Directory of A:\

A TALE O TXT     16384   4-25-95   4:29a
AN EVERY TXT     16384   4-25-95   4:33a
AND TWO  TXT     16384   4-25-95   3:56a
ANGER MA TXT     16384   4-25-95   4:15a
ANTON SA TXT     16384   4-25-95   3:53a
AS THE W TXT     16384   4-25-95   4:08a
ASCENT O TXT     16384   4-25-95   3:48a
DANGER I TXT     16384   4-25-95   4:26a

When loading this image this is what Explorer displays: win95

petergeneric avatar Aug 26 '24 23:08 petergeneric