Community
    • Login

    Saving a file with the same name as a folder

    Scheduled Pinned Locked Moved General Discussion
    save as
    1 Posts 1 Posters 867 Views 1 Watching
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors