LFNBAT v2.4 - Long filename support for old software
====================================================

Copyright (c) 1996 and onwards Simon A Carter for Crystal Software

LFNbat is SHAREWARE, and may be trialed for 30 days. If you find LFNbat
useful and plan to continue using it, you must pay for it. See the end of
the file for more details. Please register on the LFNbat mailing list by
sending email to Simon Carter at launch@ozemail.com.au, with your name and
any comments.


What's New - 23-Oct-1997
========================

    *   Now has Windows 95 GUI version!
    *   Now checks that file exists before it attempts to rename it  so
        no errors if it isn't there.
    *   Displays how many long filenames were found.
    *   Now ensures that the original short filename is restored. This
        occurs for all files that have a name ending in ~[digits].
    *   Fixed bug - LFNbat would not rename files other than those with
        a tilde ~ followed by a single digit extension. It now will
        rename any and all long filenames.
    *   Fixed MOVE bug - now uses REName.
    *   Removed "IF EXIST..." functionality


Benefits
========

The cost, time and effort of replacing your old software with new software
that supports long filenames just isn't worth it. Often replacement
software is not available. Now you don't have to replace it! With LFNit's
help, you can retain long filename support even while using your:

    *   old tape backup software (eg Colorado)
    *   old file transfer program (eg LapLink)
    *   old file manager (eg Xtree Gold)
    *   old disk utility (eg Norton, PC Tools)
    *   old compression program (eg arj, pkzip)
    *   old software, period.

You simply run LFNit! in the affected directory before you use the old
software (or run it on the entire drive at boot time), run the old
program, and then run the batch file created by LFNit! to restore the long
filenames. What could be simpler?

For example, if you use an old tape backup program to backup your system,
it will not retain long filename information. With LFNit!, you just run it
on the drive or directories being backed up, and then perform the backup
(including the batch file created by LFNit!).

At restore time, just run the batch file created by LFNit!


Features
========

    *   Can include or exclude subdirectories.
    *   Can limit the depth of directories traversed.
    *   Totally portable - you don't even need LFNbat to restore the
        long filenames!
    *   Does NOT use direct disk access, so it is much safer than other
        methods.
    *   Compatible with FAT32.
    *   Creates a batch file to effect the file renaming.
    *   Can be used for backup in case Windows 95 needs to be re-
        installed.
    *   Very useful for use in conjunction with tape backups, file
        compression software, disk and file utilities, file transfer and
        communications software etc.
    *   Progress indicator as it accumulates file information.


Installation
============

Just copy LFNBAT.EXE to a directory in your path, for example, to C:\DOS.
To find out the directories in your path, type

   c:\> path    [Enter]


How to use LFNbat
=================

Typing

   lfnbat -?   [Enter]

on its own will display usage information.

Note: LFNbat must be run from within a Windows 95 DOS Shell. Outside of
the Shell it has no access to the long filename services.


Usage:
   lfnbat [options] [directory1] [options] directory2 ...

Where [options] is one or more of:

<directory>   One or more directories can be specified as the starting
              point for LFNbat's output. For a LFNbat of drives a:, b: and
              the current directory (c:\windows) type:
              
              c:\windows> lfnbat a:\ b:\ .
              
              Directory names with special characters such as spaces must
              be entered with double quotes e.g.
              
              c:\> lfnbat "Program Files" "windows\start menu"   [Enter]
              
-#            Default: All levels (255)
              
              Limits the number of levels of directories that LFNbat will
              descend into to find long filenames. Eg -1 will only look at
              the first directory level. A value of 0 is equivalent to a
              value of 255 (i.e. all levels).
              
-i            Include all of the subdirectories of the directories given
              that follow this option on the command line.
              
-x            Exclude all of the subdirectories of the directories given
              that follow this option on the command line.
              
-?            Displays the help/usage screen.
              


Redirecting Output
==================

LFNbat's output can be redirected to any device. For example, to save
LFNbat's output to the file output.txt, you can type:

   lfnbat > output.txt    [Enter]

To add LFNbat output to an existing file exists.txt, type

   lfnbat >> exists.txt    [Enter]

To send LFNbat's output to the printer, type

   lfnbat > prn    [Enter]


Registration
============

LFNbat is SHAREWARE and may be trialed for a period of 30 days. After this
time you must either purchase the registered version (for $15) or cease
using the shareware version.

Please register your USAGE of LFNbat by sending email to
launch@ozemail.com.au, with your name and address, version of LFNbat and
any relevant comments or suggestions. By registering LFNbat I can inform
you of updates or improvements and let you know when the next version is
released.

If you like and use LFNbat, how about linking to my Web site (see below)?


Online Web Registration
=======================

The registered version of LFNbat can be purchased and received immediately
on the Internet, eliminating shipping and handling costs.


Albert's Ambry
--------------

Direct URL:
http://www.alberts.com/Ambry/Register?File_Name=lfnbat.zip&OS=DOS&Source=A
uthWWW

OR go to

  http://www.alberts.com

and search for: LFNbat

Click on the "Buy it" hotlink to register LFNbat.


Crystal Software Order Form
===========================

Use this form for orders sent directly to Crystal Software in Australia.
    
    ____ x Single user licence(s) at  $15 each: $______
    ____ x Server licence(s)      at $150 each: $______
    ____ x Site licence(s)        at $300 each: $______
    ____ x Company licence(s)     at $500 each: $______
    
    Postage and 3.5" diskette          (  )         $10
      OR                                OR        OR
    Deliver to your email address      (  )    * free *
    
                                        Total: $_______
    
    
    Personal details
    ----------------
    
           Name: ____________________________________________
          Email: ____________________________________________
        Company: ____________________________________________
        Address: ____________________________________________
                 ____________________________________________
                 ____________________________________________
                 ____________________________________________
          Phone: ____________________________________________
            Fax: ____________________________________________


    Visa or MasterCard (*)
    ----------------------
    
    Please tick: ( ) Visa     ( ) MasterCard
    Card Number: ____ ____ ____ ____
    Expiry Date: ____/______
    
    Card holder name: ________________________________
    
      Signature: ________________________________
    
           Date: ____________
    
    (*) Please note that these orders are processed by Omnivision
    Technologies, a licensed distributor.
    
    
    Cheques
    -------
    I accept bank cheques and personal cheques drawn on Australian banks.
    For foreign cheques, please include an additional $US 5 to cover my
    bank's foreign cheque charge. Please make cheques payable to Simon
    Carter.
    
    
    Postal money orders
    -------------------
    I accept prepaid postal money orders in Australian dollars.
    
    
    Other Payment Methods
    ---------------------
    I also accept foreign currencies (suitably disguised within an
    envelope) provided they allow an extra $5 for currency conversion.


Contact Information
===================

I am always happy to hear your comments! If you use and like LFNbat, or
have any suggestions for improvements, please drop me a line! Other user's
suggestions have made it what it is today.

 Email:     launch@ozemail.com.au
   WWW:     http://www.ozemail.com.au/~launch
   Fax:     +61 (3) 9800-3078
 Voice:     +61 (3) 9888-3104. After hours number. Please leave a
            contact name, number and time, and I will try to get back
            to you within 24 hours.
  Mail:     Simon Carter
            Crystal Software
            2 / 9 Woodbine Court
            Wantirna
            Victoria 3152
            AUSTRALIA.

