Ignore dest paths that end in double backslash (\ \)

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
Posts: 4
Joined: Tue Feb 26, 2019 9:11 pm

Ignore dest paths that end in double backslash (\ \)

Post by Ghred »

I copy and move a great many files while viewing files in a given folder. Because I do this so often, my fingers get in the habit of pressing ALT C with my left hand and Enter with my right.

But sometimes some typo or other mistake happens (I'm sure it's a user problem) which adds another backslash or a space then a backslash to the destination path (i.e., "OutFolder\\" or "OutFolder\ \"), but since I'm in the habit of simply pressing Enter at this point, it ends up creating and copying the file to a null-named folder!

After which, you cannot delete the folder with no name!

I realize that a message must have come up asking if I wanted to create the nameless folder, but since I'm moving quickly (and I'm often using two screens), I don't see it and since the default for Enter is Yes, the messed-up unnamed directory is created and the file is copied there.

My suggestion, therefore, is to automatically ignore terminating double-slashes and all attempts to create a nameless directory.

Thank you!
User avatar
Author of XnView
Posts: 34932
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Ignore dest paths that end in double backslash (\ \)

Post by xnview »

when renaming folder?
Post Reply