How can I restore Winlfn.ini

Posted on 2006-04-10
Last Modified: 2007-12-19
Have a Windows 98 machine where long file names have been changed.  Scandisk was running with lomg file name errors so user told scandisk to ignore long file names. User is attempting to correct with Sulfnbk.exe but can't find required Winlfn.ini file.  User has Windows 98 CD.  Is there any way to grab this file from the CD?


Question by:yic01
    LVL 23

    Accepted Solution

    Hello Mary,,,,

    the file Winlfn.ini is a part of the uninstalling files for windows 98, These files such as Winlfn.ini and other like Winundo.ini Winundo.dat are located in the "UninstallDir" Folder, but try to dir them using Dos to check in case if the file still existed and hidden.

    Use the following command on dos...
    Click Start --> Run --> Command   " Enter "
    CD\  "Enter"
    Dir /a /s Winlfn.ini   "Enter"

    Now this command will search the file on the whole directory and show you it's location, after finding the file you can see what is the attribute option thats set to the file if you use the "Attrib" command.

    If you need to install a new file to your computer then download it from the following link:-

    The file size Is 15 kbs or 14.2 kbs, Ext is INI.. , If you still want to extract the file from the CD, then you can manually extract all the Setup files from the Windows 98 Second Edition CD-ROM to your hard disk and run Setup from there.

    It requires approximately 300 MB of free hard-disk space to extract the Windows 98 files. You can use the Ext.exe utility to extract the Windows 98 files. This utility is located on the Windows 98 Startup disk and in the \Oldmsdos folder on the Windows 98 CD-ROM.

    A- On one of your hard drives, create an empty folder and name it "W98flat". Copy the contents of the Win98 folder on the CD-ROM to the W98flat folder.

    To manually extract the Windows 98 files, follow these steps:

    1- Insert the Windows 98 Startup disk into the floppy disk drive, and then restart your computer.
    2- At the command prompt, type:

    3- When prompted for the location of the cabinet files, type the path to the W98flat folder that you created in
    step A above.

    4- When prompted for the files to extract, type:


    5- When prompted for the location where the files are to be extracted, type the path to the W98flat folder.
    NOTE: This does not extract the files in the and cabinet files.

    6- After all the files have been extracted, reboot into Windows 98 and Check If the file is There now.

    Hope This Helps.

    Author Comment

    Thank you!!!!
    LVL 23

    Expert Comment

    by:Mohammed Hamada
    Your Welcome :) and thank you for the grade ;-).
    Best Regards.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
    As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, ( because one time I did this and I essentially had a bricked …
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now