Create Directory - Trailing dot, oddity, bug, feature?

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
therube
Posts: 603
Joined: 14 Dec 2006, 06:22

Create Directory - Trailing dot, oddity, bug, feature?

Post by therube » 16 Jul 2015, 22:47

Create Directory - Trailing dot (.), oddity, bug, feature change?


> F7 -> R.E.M.
> Error: (123) The filename, directory name, or volume label syntax is incorrect.


Thought there might have been a change in that respect, but didn't find it.
No big deal... I understand whats going on.

SS 2.54 would create the directory, silently deleting the ".".
AS 3.06 gives you the error.


Shift+F4 -> R.E.M.
Creates a file "R.E.M" silently deleting the ".".
WinXP Pro SP3 or Win7 x86 | SS 2.54

User avatar
Ether
Posts: 1457
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re: Create Directory - Trailing dot, oddity, bug, feature?

Post by Ether » 01 Aug 2015, 22:46

I can confirm. I remember there was some change in this, probably in or before v3.0b1, see changelog.
changelog wrote:Create Directory: added removing of spaces from beginning and end of specified directory name.
It would be nice for file and directory creation to work the same in this regard.
Ελληνικά rulez.

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1104
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Create Directory - Trailing dot, oddity, bug, feature?

Post by Petr Solin » 03 Aug 2015, 08:15

Yes, it was changed in version 3.0. And yes, Shift+F4 and F7 should behave same in this respect, I'll take look at it.

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1104
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Create Directory - Trailing dot, oddity, bug, feature?

Post by Petr Solin » 09 Oct 2015, 12:30

Well, I have fixed this. Edit New File, Create Directory, and Quick Rename in panels and Rename in PictView plugin: it eliminates spaces at beginning and all dots and spaces at ending of new filename. This is completely new in Edit New File. Other commands have already eliminated spaces (but no dots).

Post Reply