This project is read-only.

VFAT Long File Names (LFN) on FAT file systems

Aug 20, 2014 at 6:16 PM
Edited Aug 20, 2014 at 6:17 PM
On my fork of the source code, I have added initial support for reading and writing vfat long file names on FAT file systems.

My motivation is to be able to create virtual floppy disks to assist in unattended installations of Windows on Hyper-V. In the same way box-cutter does.

I believe the code to work, however, I do want to add additional unit tests to ensure the behaviour is correct. I am sure there are some edge cases with various file names that I could have missed.
  1. Code should be backward compatible
  2. Short names are created in a similar pattern to Windows
  3. The FileName class has new members to support LFN
    // will change to HasLongFileName  for consistency
    public bool HasLongFilename { get ; }  
    public string GetLongName() { }
I would appreciate any feedback and assistance in testing. Please let me know if you find any issues with this version.