Menu

#370 Deleting REN folder dumps the whole FreeDos installation

freedos13
closed
nobody
None
3
2025-08-11
2023-01-19
Agena
No

Dear Ladies and Gentlemen,

there is a REN or something like that on the root folder obviously symbolically referring to the original FreeDOS installation. If I delete this folder - to save space -, I will loose my whole FreeDOS installation.

Is this unique to me ? I might have overinstalled the Feb 2022 1.3 release over a pre-existing candidate release, but the installer did not tell me. After installing 1.3, all the files from the previous release were still there.

I notices this evil backup folder over the last years and had the same issues.

Yours,

Alex

Discussion

  • Jim Hall

    Jim Hall - 2023-01-30

    If I understand your bug report, you installed some version of FreeDOS, then installed FreeDOS 1.3 on top of it. And that process created a backup folder - and if you delete the folder, you lose your FreeDOS install?

    To reproduce: I installed FreeDOS on a test system, then installed another FreeDOS on top of that. As part of the install process, the installer recognizes that there's a version of FreeDOS already there, so it forced me to run the installer manually by typing SETUP. This is to make sure people know they are installing on top of a previous install.

    As part of that install attempt, and before installing anything, the installer asked if I wanted to backup my previous install first. I selected the prompt to do that. The installer ran several tasks to backup my old install, then proceeded to install the new FreeDOS.

    When the new install was finished, I had this:

    • Previous FreeDOS copied to FDOS_OLD.000
    • Previous FDAUTO.BAT copied to FDAUTO.000
    • Previous FDCONFIG.SYS copied to FDCONFIG.000
    • List of items backed up is in FDOS_OLD.000/FDBACKUP.LST
    • New FreeDOS installed in FREEDOS
    • New FDAUTO.BAT
    • New FDCONFIG.SYS

    (I checked and there are no references to FDOS_OLD.000 in either FDAUTO.BAT or FDCONFIG.SYS)

    The REN directory that you mentioned is not there, but maybe you are misremembering the FDOS_OLD.000 directory?

    The FDOS_OLD.000 backup directory and the .000 backup files are as intended. You can safely delete these and not break your current FreeDOS install. However, if you had changes in there, then deleting the FDOS_OLD.000 backup folder will delete your changes.

     
  • fritz.mueller

    fritz.mueller - 2023-02-01

    Hmmm, ren is also an internal command of freedos command.com (renames files and folders).
    So I am not sure what really happened.
    It would be interesting to know:
    a) what was inside the REN folder (files of your own, FreeDOS files, subfolders etc.?)
    b) which command or program (e.g. dosnavigator or other Norton Commander Clone) you used to
    delete this folder, as deleting a folder only works with rd if the folder is empty. So only deltree is a possibility for deleting folders at once.
    Ah, one more idea, there are known problems when labelname and file- / foldername are identical. Could it be something like this?

     
  • Jim Hall

    Jim Hall - 2023-02-02

    I think this bug report is too vague to provide useful feedback. "REN or something like that" makes it difficult to debug if we don't have the exact name that was used.

    Can the original submitter (Agena) provide additional details here? Can you confirm my debugging, above?

     
  • Jim Hall

    Jim Hall - 2023-02-08
    • status: open --> resolved
     
  • Jim Hall

    Jim Hall - 2023-02-08

    marking as closed because it seems the reporter has deleted a directory on their own. please reopen if this is not the case.

     
  • Jim Hall

    Jim Hall - 2025-08-11
    • status: resolved --> closed
     
  • Jim Hall

    Jim Hall - 2025-08-11

    Cleaning up - this was meant to be marked closed but was marked resolved

     

Log in to post a comment.

MongoDB Logo MongoDB