LFNBAT v2.1 =========== Copyright 1996-1997 Simon A Carter for Crystal Software The long filename preserver/restorer with the lot: * 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. * Compatable 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. LFNbat is SHAREWARE, and may be trialed for 30 days. If you find LFNbat useful and plan to continue using it after this period, you must pay the registration fee of $5 by going to Albert's Ambry, http://www.alberts.com. Please register on the LFNbat mailing list by sending email to Simon Carter at launch@ozemail.com.au, with your name and any comments. Please see the end of this file for more registration information. What will LFNbat do for me ? ============================ ALL pre-Windows 95 programs (and some post Windows 95 programs) do not maintain long filenames. This includes file compression utilities like pkzip and arj, file managers like Xtree and Norton Utilities, tape backup programs and file transfer programs like LapLink. The list of programs is without exception. LFNbat creates a batch file (a file containing a list of commands that can be run) that can be used to restore long filenames. Simply run LFNbat on the root directory of each drive prior to making any modifications, and then run the LONGFN.BAT batch file that it creates after the modification, and Presto! The long filenames and long directory names are restored. You can use it prior to backing up your system to tape so that the long filenames are not lost. You can also limit the directories that it examines. 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: 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] LFNbat Example -------------- The output below was generated from running LFNbat in the Program Files directory (in a DOS shell under Windows 95): c:\> lfnbat "Program Files" [Enter] c:\> type "Program Files\longfn.bat" [Enter] move "THEMIC~1" "The Microsoft Network" move "ACCESS~1" "Accessories" move "Accessories\HYPERT~1" "Accessories\HyperTerminal" ren "Accessories\HyperTerminal\COMPUS~1.HT" "CompuServe.ht" ren "Accessories\HyperTerminal\MCIMAI~1.HT" "MCI Mail.ht" ren "Accessories\HyperTerminal\AT&TMA~1.HT" "AT&T Mail.ht" move "MICROS~1" "Microsoft Exchange" move "COMMON~1" "Common Files" move "Common Files\MICROS~1" "Common Files\Microsoft Shared" ren "Visio\Add-ons\PROJEC~1.EXE" "Project Timeline Wizard.EXE" ren "Visio\Add-ons\PAGELA~1.EXE" "Page Layout Wizard.EXE" ren "Visio\Add-ons\ORGANI~1.EXE" "Organization Chart Wizard.EXE" ren "Visio\Add-ons\SMARTS~1.EXE" "SmartShape Wizard.EXE" ren "Visio\Add-ons\GRAPHM~1.EXE" "GraphMaker.EXE" ren "Visio\Add-ons\PROPER~1.EXE" "Properties Reporter.EXE" ren "Visio\Add-ons\STENCI~1.EXE" "Stencil Report Wizard.EXE" ren "Visio\Add-ons\BUILDR~1.EXE" "Build Region.EXE" ren "Visio\Template\Wizards\NEWVIS~1.VST" "New Visio Office Layout Wizard.VST" ren "Visio\Template\Wizards\NEWVIS~2.VST" "New Visio Project Timeline Wizard.VST" ren "Visio\Template\Wizards\NEWVIS~3.VST" "New Visio TQM Diagram Wizard.VST" ren "Visio\Template\Wizards\NEWVIS~4.VST" "New Visio Organization Chart Wizard.VST" ren "Visio\Template\Wizards\NEWVIS~5.VST" "New Visio Flowchart Wizard.VST" ren "Visio\Template\Standard\NEWVIS~1.VST" "New Visio Project Timeline.VST" ren "Visio\Template\Standard\NEWVIS~2.VST" "New Visio Network Diagram.VST" ren "Visio\Template\Standard\NEWVIS~3.VST" "New Visio Block Diagram with Perspective.VST" ren "Visio\Template\Standard\NEWVIS~4.VST" "New Visio TQM Diagram.VST" ren "Visio\Template\Standard\NEWVIS~5.VST" "New Visio Office Layout.VST" ren "Visio\Template\Standard\NEWVIS~6.VST" "New Visio Organization Chart.VST" ren "Visio\Template\Standard\NEWVIS~7.VST" "New Visio Flowchart.VST" ren "Visio\Template\Standard\NEWVIS~8.VST" "New Visio Directional Map.VST" ren "Visio\Template\Standard\NEWVIS~9.VST" "New Visio Block Diagram.VST" ren "Visio\Template\Standard\VISIOD~1.VST" "Visio Demos.VST" ren "Visio\VISIOR~1.EXE" "Visio Registration Wizard.EXE" ren "Visio\Stencils\Standard\TQMSHA~1.VSS" "TQM Shapes.VSS" ren "Visio\Stencils\Standard\MAPSOF~1.VSS" "Maps of Africa.VSS" ren "Visio\Stencils\Standard\MINDMA~1.VSS" "Mind Mapping Shapes.VSS" ren "Visio\Stencils\Standard\BLOCKS~1.VSS" "Blocks with Perspective.VSS" ren "Visio\Stencils\Standard\OFFICE~1.VSS" "Office Layout Shapes.VSS" ren "Visio\Stencils\Standard\CONNEC~1.VSS" "Connectors.VSS" ren "Visio\Stencils\Standard\FLOWCH~1.VSS" "Flowchart Shapes.VSS" ren "Visio\Stencils\Standard\PROJEC~1.VSS" "Project Timeline Shapes.VSS" ren "Visio\Stencils\Standard\BLOCKS~2.VSS" "Blocks Raised.VSS" ren "Visio\Stencils\Standard\FLOWCH~2.VSS" "Flowchart Shapes 2.VSS" ren "Visio\Stencils\Standard\FORMSS~1.VSS" "Forms Shapes.VSS" ren "Visio\Stencils\Standard\ORGANI~1.VSS" "Organization Chart Shapes.VSS" ren "Visio\Stencils\Standard\BASICS~1.VSS" "Basic Shapes.VSS" ren "Visio\Stencils\Standard\NETWOR~1.VSS" "Network Shapes 2.VSS" ren "Visio\Stencils\Standard\MAPSOF~2.VSS" "Maps of the World.VSS" ren "Visio\Stencils\Standard\MAPSOF~3.VSS" "Maps of Asia.VSS" ren "Visio\Stencils\Standard\MAPSOF~4.VSS" "Maps of North and South America.VSS" ren "Visio\Stencils\Standard\NETWOR~2.VSS" "Network Shapes.VSS" ren "Visio\Stencils\Standard\VISIOC~1.VSS" "Visio Clipart.VSS" ren "Visio\Stencils\Standard\MAPSOF~5.VSS" "Maps of Europe.VSS" ren "Visio\Stencils\Standard\DIRECT~1.VSS" "Directional Map Shapes.VSS" ren "Visio\Stencils\Standard\MAPSOF~6.VSS" "Maps of the US and Canada.VSS" ren "Visio\SHORTC~1.MCC" "Shortcut to Visio on MSN.MCC" ren "Visio\Drawings\LAUNCH~1.VSD" "Launch Main Display.vsd" ren "Visio\Drawings\MYNEWR~1.VSD" "my new room layout.vsd" move "NORTON~1" "Norton Utilities" move "ULTRAE~1" "UltraEdit" move "NORTON~2" "Norton Commander" move "FONTAS~1" "Font Assistant" move "RESOUR~1" "Resource Kit" move "HELPAS~1" "Help Assistant" move "TYPETW~1" "Type twister" move "NORTON~3" "Norton AntiVirus" move "CLICKB~1" "ClickBook" move "Borland\DELPHI~1.0" "Borland\Delphi 2.0" move "Borland\Delphi 2.0\Bin\BORLAN~1.0" "Borland\Delphi 2.0\Bin\Borland Delphi 2.0" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DELPHI~1.LNK" "Delphi 2.0.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DELPHI~2.LNK" "Delphi 2.0 Readme.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DATABA~1.LNK" "Database Explorer.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\IMAGEE~1.LNK" "Image Editor.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DATABA~2.LNK" "Database Explorer Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DELPHI~3.LNK" "Delphi 2.0 Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\COMPON~1.LNK" "Component Writers Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\OBJECT~1.LNK" "Object Pascal Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\VISUAL~1.LNK" "Visual Component Library Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DATABA~3.LNK" "DataBase Desktop.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\BDECON~1.LNK" "BDE Configuration.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\BDECON~2.LNK" "BDE Configuration Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\LOCALS~1.LNK" "Local SQL Help.lnk" ren "Borland\Delphi 2.0\Bin\Borland Delphi 2.0\DELPHI~4.LNK" "Delphi 2.0 Online Registration.lnk" ren "Borland\Delphi 2.0\Source\AMG2LA~1.DOF" "AMG2LatLong.dof" ren "Borland\Delphi 2.0\Source\AMG2LA~1.DPR" "AMG2LatLong.dpr" ren "Borland\Delphi 2.0\Source\AMG2LA~1.RES" "AMG2LatLong.res" ren "Borland\Delphi 2.0\Source\AMG2LA~1.EXE" "AMG2LatLong.exe" ren "Borland\Delphi 2.0\Source\AMG2LA~1.~DP" "AMG2LatLong.~dp" move "Borland\DATABA~1" "Borland\Database Desktop" move "Borland\COMMON~1" "Borland\Common Files" New features/Revision history ============================= Date Version Changes Made 25-Feb-97 2.1 First release. 16-Oct-93 1.0 First created and used. Registration ============ LFNbat is SHAREWARE, and may be trialed for 30 days. If you find LFNbat useful and plan to continue using it after this period, you must pay the registration fee of $5 by going to Albert's Ambry, http://www.alberts.com. Please register on the LFNbat mailing list by sending email to Simon Carter at launch@ozemail.com.au, with your name and any comments. If you like and use LFNbat, I'd also appreciate a postcard, a link from your WWW home page or *any* other sort of recognition! Online Web registration ----------------------- The registered version of LFNbat can be purchased and received immediately on the Internet at Albert’s Ambry. Registration at Albert’s also eliminates shipping and handling costs. Please go to: http://www.alberts.com/ Search on: LFNbat Click on the "Buy it" hotlink to register LFNbat. Order form ---------- Personal details ---------------- Name: ____________________________________________ Company: ____________________________________________ Address: ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ Phone: ____________________________________________ Fax: ____________________________________________ For Visa, MasterCard or Bank Card (*) ------------------------------------- (Sorry, I currently do not accept American Express) Card Number: ____ ____ ____ ____ Expiry Date: ____/______ 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 an Australian bank. Foreign cheques cost me an additional $US 10 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. 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! Email: launch@ozemail.com.au WWW: Checkout the Crystal Software home page at http://www.ozemail.com.au/~launch Fax: +61-3 9800-3078 Any time. 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.