Long-Filename Backup Tool

When working with long filenames in DOS the long filenames are lost because the long filename has to be updated in the VFAT and standard DOS utilities can only work on the FAT.
Microsoft have create the utility W95lfnb.exe, which is able to save the long filenames stored in the VFAT, so you can restore the long filenames again after you have worked with the files in DOS.

This makes it possible to backup Windows from DOS without rendering it useless:
  1. Backup the long filenames on your entire C-Drive using W95lfnb.exe
  2. Backup the files (including the long filename backup) into an archive using an util like PKZIP, RAR, ACE, ARJ etc.
When your Windows have gone bad then you can restore within minutes:
  1. Delete the bad Windows installation
  2. Restore the files from the archive using an util like PKZIP, RAR, ACE, ARJ etc.
  3. Restore the long filenames from the long filename backup
Note if you have the money or the skills then this operation can be done more easily with a disk image tool like Ghost.

Note it is possible to perform backup of long filenames (LFN) directly by using DOSLFN (Download Mirror), along with PKZIP for DOS V2.50. DOSLFN implements the Windows 95 LFN API under DOS.

Note LFN Tools is a small collection of tools that allows one to work with long filenames in pure DOS.

Updated: 23 September 2007

Leave a Reply

Your email address will not be published. Required fields are marked *