Command: doslfn

  DOSLFN is a program that supports long filenames in pure DOS.

Syntax:

  doslfn [options] [switches]

Options:

Actions:
  - (nothing)     load and/or enable TSR
  - h or ?        this help
  - d             disable DOSLFN
  - s             show status and settings
  - u             unload TSR
Switches:
  - w{+|-}        * write access
  - ˜{+|-}        * NameNumericTail - tilde usage (I hate snakes)
  - t{+|-}        * PreserveLongNames - tunnel effect
  - f{+|-}        * fallback mode - supply LFN for all drives
  - c{+|-}        * CDROM support
  - i{+|-}        * reenter lock via InDOS flag + RESET DRIVE
  - r{+|-}        * read-only bit for CDROM files
  - o[N]          * set time zone N or read TZ if absent
  - z[:|=]table   load Unicode table (format Volkov .TBL)
  - m[:|=]bytes   declare size of internal heap, 600..50000
  - ms[:|=]bytes  declare size of short path, 16..141
  - ml[:|=]bytes  declare size of long path, 16..1024
  - mn[:|=]bytes  declare size of long name, 13..512
  - p[:|=]path    declare working directory for .TBL/.386
  - l{d|e|f|t}    language for messages (german|english|french|turkish)
                  (only for versions till 0.4.1f).
Environment:
  TZ=xxxNyyy      time zone N for time conversion, no DST usage
  LANG=cc         language for messages (since version 0.4.1g)

Comments:

  USE THIS PROGRAM AT YOUR OWN RISK, DATA LOSS MAY BE POSSIBLE!
  Without this program FreeDOS only supports filenames in the format 8.3
  e.g. filename.txt.
  Since version 0.4.1g DOSLFN supports NLS. This means that the option
  - l{d|e|f|t} is no longer needed.
    For more information see:
  https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/
  packet: doslfn, section: DOC  OR:
  https://gitlab.com/FreeDOS/drivers/doslfn/-/tree/master/DOC/DOSLFN

Examples:

  IN a BATCH file or in AUTOEXEC.BAT / FDAUTO.BAT:
  set lang=DE  (sets the language for messages to german)
  doslfn       (loads long file name support driver)
  doslfn /u    (unloads long file name support driver)

See also:

  autoexec.bat/fdauto.bat
  batch files
  set
  Some examples for commands that support DOSLFN:
  dosfsck
  for
  lfnfor
  pdtree/tree
  shsucdx

  Copyright © 2008, updated in 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.