1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Coerce DOS programs to handle LFN

Discussion in 'Support' started by epement, Jan 8, 2009.

  1. epement

    Joined:
    Jun 28, 2008
    Messages:
    67
    Likes Received:
    2
    I noticed a message not long ago from someone using the DOS version of Brief, which does not handle Windows Long Filenames (LFN).

    I am interested in this topic, since I will occasionally use the DOS version of Multi-Edit Professional, which is also not LFN aware.

    I have started work on a batch "wrapper" for ME7.EXE, which allows me to specify a LFN on the command line. If the file exists, the script converts it to SFN and passes it to Multi-Edit. If the file is new, the script tells the user and opens ME7 on a new file. In either case, when Multi-Edit exits, the original LFN entered at the command prompt is restored to its former identity, and not left as FOO~1.TXT or whatever is compatible with the 8.3 world. The wrapper sorta works, but is not entirely complete yet.

    I am wondering if anyone else has written such "wrapper" scripts in TakeCmd or 4NT batch language, such that they can essentially maintain LFN functionality without the inner program itself needing to be LFN-aware? If so, can you share it with us or point to it on the Net? Thanks.
     

Share This Page