• Login
Community
  • Login

[CRITAL-HELP] File Content Lost When Save

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
14 Posts 7 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    Xueping Kong
    last edited by May 15, 2019, 6:51 PM

    Hi,
    I have a .TXT file which is around 16KB which is opened in Notepad++ all the time.

    Yesterday, I didn’t notice that my harddisk was full (0 bytes left). And I made some amendment on the file and used Ctrl+S to save this file, a popup asking to switch to Administrative mode to escalator access and I clicked NO, suddenly I found the content of this file became empty and file size is 0 byte.

    This file is very important for me and what I have tried:

    1. undo the modification: strangely, the UNDO button is invalid (no option to get previous version)
    2. Check Notepad++ auto-backup folder: unfortunately I didn’t enable this feature, so there is not backup there
    3. Check Windows Temp folder: I have checked all files there, but no luck

    **Please advice how to get back the previous file content, thanks a lot.
    **
    OS: Windows 10
    Notepad++: v7.5.9 (64-bit), build time: Oct 14 2018 - 15:19:55

    A M 2 Replies Last reply May 15, 2019, 6:59 PM Reply Quote 0
    • A
      Alan Kilborn @Xueping Kong
      last edited by May 15, 2019, 6:59 PM

      @Xueping-Kong

      It is a…sad…story. Sadly, I’ve heard it before. It would be interesting to know why Notepad++ does this.

      1 Reply Last reply Reply Quote 1
      • A
        Alan Kilborn
        last edited by May 16, 2019, 11:36 AM

        There may be help coming!

        See https://github.com/notepad-plus-plus/notepad-plus-plus/pull/5659

        1 Reply Last reply Reply Quote 1
        • M
          Meta Chuh moderator @Xueping Kong
          last edited by May 16, 2019, 12:02 PM

          @Xueping-Kong

          There may be help coming!

          note that this might only prevent notepad++ from displaying a saved status.
          but it does not bring back your file !

          once your file is gone, due to zero space on disk, it’s gone.

          A 1 Reply Last reply May 16, 2019, 12:17 PM Reply Quote 3
          • A
            Alan Kilborn @Meta Chuh
            last edited by May 16, 2019, 12:17 PM

            @Meta-Chuh

            Yes, of course I meant help for future sufferers; not much to be done for the OP of this thread! Sorry for any confusion, or false excitement on the part of the OP!

            1 Reply Last reply Reply Quote 3
            • P
              pnedev
              last edited by May 17, 2019, 8:06 AM

              @Xueping-Kong ,

              Unfortunately it is not possible to recover your file.
              You can try with data recovery software (“un-deleter”) like Recuva but the chances are close to zero.

              The problem will be fixed in the future versions of Notepad++ I hope.

              I’m really sorry for your data loss.

              1 Reply Last reply Reply Quote 3
              • P
                pnedev
                last edited by May 17, 2019, 8:57 AM

                @Alan-Kilborn said:

                It would be interesting to know why Notepad++ does this.

                I filed a new issue describing the cause.

                1 Reply Last reply Reply Quote 4
                • J
                  Jaci Colvin
                  last edited by Dec 19, 2021, 6:30 AM

                  I’m guessing there is no fix for this even a few years later? Really upset. Had the same problem as the above poster, didn’t realise that the computer was doing an update on my computer which was pretty close to full (planning to do a bit sort out next week) and got an error. Then file was completely blank. I can understand not saving changes, but why completely blank? That’s a serious serious bug!!! I’ve check the back up for notepad and it’s empty. I’m guessing there’s no way to recover? I do have a separate back up but it’s about a week old so will take a long time to redo the info that has been put in since then :(

                  A 1 Reply Last reply Dec 19, 2021, 1:38 PM Reply Quote 0
                  • A
                    Alan Kilborn @Jaci Colvin
                    last edited by Alan Kilborn Dec 19, 2021, 1:38 PM Dec 19, 2021, 1:38 PM

                    @jaci-colvin said in [CRITAL-HELP] File Content Lost When Save:

                    I’m guessing there is no fix for this even a few years later?

                    I thought there was a fix for this between 2019 and now – we can look it up.
                    But really, you need to post your version information in order for us to tell if the version you are using is before/after a possible fix.

                    S 1 Reply Last reply Dec 19, 2021, 3:40 PM Reply Quote 1
                    • S
                      Stefan Pendl @Alan Kilborn
                      last edited by Dec 19, 2021, 3:40 PM

                      The latest release 8.1.9.3 has a fix for this issue, see the release notes.

                      S 1 Reply Last reply Dec 19, 2021, 3:43 PM Reply Quote 0
                      • S
                        Stefan Pendl @Stefan Pendl
                        last edited by Dec 19, 2021, 3:43 PM

                        See the release notes at https://notepad-plus-plus.org/downloads/v8.1.9.3/

                        J 1 Reply Last reply Dec 19, 2021, 8:16 PM Reply Quote 0
                        • J
                          Jaci Colvin @Stefan Pendl
                          last edited by Dec 19, 2021, 8:16 PM

                          @stefan-pendl Ok, I might be out of luck. I just checked and I must be using an old version, I guess I have had it on my computer for a while and it hasn’t been asking for updates in a long time now that I think about it, so I might need to remember to manually check (v.7.8.7)

                          Thanks anyway. I’ve download the new version. It actually wiped another file when I did that even though I now have space on the drive, + all of the backup I made of it just in case this very thing happened :( I’ve never had problems with this program before and have really liked it for a long time, but this is really, really awful.

                          T 1 Reply Last reply Dec 19, 2021, 8:23 PM Reply Quote 0
                          • T
                            Terry R @Jaci Colvin
                            last edited by Dec 19, 2021, 8:23 PM

                            @jaci-colvin said in [CRITAL-HELP] File Content Lost When Save:

                            I guess I have had it on my computer for a while and it hasn’t been asking for updates in a long time now that I think about it, so I might need to remember to manually check (v.7.8.7)

                            The default is for Notepad++ to notify you when a newer version is available for download. however that setting can be turned off, perhaps you did that.

                            Anyways, now in the new version you just installed check “Settings”, “Preferences”, then “MISC”. In that window will be the option “Enable Notepad++ auto-updater”. Tick it if you want to be notified, or not but then you will need to monitor it yourself.

                            Terry

                            J 1 Reply Last reply Dec 19, 2021, 8:27 PM Reply Quote 0
                            • J
                              Jaci Colvin @Terry R
                              last edited by Dec 19, 2021, 8:27 PM

                              @terry-r Thanks Terry. It is already ticked. I don’t know why it wasn’t notifying me of updates and I never deliberately disabled it. Not sure why that happened. Just now that I think about it, it used to asked for updates, but not in some time. I’ve manually done it now anyway.

                              Will need to go and rewrite a second file it’s wiped on me now :(

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors