Community
    • Login

    File is saved, but it isn't saved

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 468 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.
    • Paul HugginsP
      Paul Huggins
      last edited by

      Hi folks,
      I frequently have to edit INI files to enable logging in some programs. These .ini files are plain text, but there’s a weird problem.

      1. I open an .ini file in Notepad++ and change the text “logging OFF” to “logging ON”.
      2. I save it.
      3. I re-open the file in Notepad++ to make sure the change was saved. The file does say “logging ON”, so it LOOKS like the edited file was saved.
      4. However, the software behavior doesn’t change, and if I open the same .ini with Notepad (the Windows one), it shows that the .ini file still says “logging OFF”.

      So apparently when I save a file with Notepad++, it saves a cached copy of it in a different location, then when I try to open that file again, Notepad++ instead opens the cached file.

      Has anyone else experienced this? Is there a setting to turn this off?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Paul Huggins
        last edited by

        @Paul-Huggins ,

        Nope. That is not happening at all.

        If you have saved the file, then close and re-open the file in Notepad++, and you see your changes, then the file has been written to disk in the path it claims it was saved to.

        I can think of two things that might be happening:

        1. You might be editing an INI file that lives within %Windir%\System or one of its equivalents, in which case you have likely hit the Windows OS’ File System Redirector
        2. After you save and write the file from Notepad++, maybe the original application was still open and re-wrote the INI file back to the way it thought it should be.
        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors