Community
    • Login

    Saving a file with the same name as a folder

    Scheduled Pinned Locked Moved General Discussion
    save as
    1 Posts 1 Posters 715 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.
    • Bill ReveileB
      Bill Reveile
      last edited by

      There is an interesting quirk in the “save as” dialog in v7.5.5.

      Here’s an example. Let’s say I have a folder on my desktop named “ThisProjectHasManyLettersInItsName” and I try to save a text file to my desktop named “ThisProjectHasManyLettersInItsName.txt” but I use the feature in the save as dialog that automatically adds the “.txt” to the end of the name.

      What happens is, even though it’s going to add the “.txt” to the end before it saves it, Notepad++ warns me that there is another file with that name and asks me if I want to overwrite it. If I say yes, I want to overwrite the file, it navigates into the directory. So NP++ is confused about whether that thing with the same name is a file or a folder.

      Normally, in a “save as” dialog, it would only warn me if the other thing with the same name was a file and not a folder and if the other thing with the same name, without the extension, was a folder it would navigate into the folder without a warning. Previous versions of NP++ behaved “normally.” Thanks.

      At your service,

      Bill

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