blog: rinse filenames

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
User avatar
nikos
Site Admin
Site Admin
Posts: 14704
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

blog: rinse filenames

Post by nikos » 2020 Sep 20, 05:04

here's the comment area for today's blog post found at
https://www.zabkat.com/blog/cleanup-filenames.htm

Tuxman
Platinum Member
Platinum Member
Posts: 1493
Joined: 2009 Aug 19, 07:49

Re: blog: rinse filenames

Post by Tuxman » 2020 Sep 20, 13:35

Once upon a time there were strict rules about filenames, only a few characters were allowed (nevermind the 8.3 letter limitation). Now, except for a few special characters like : and \ that are reserved for paths, anything goes in filenames. However cute adding smileys and hearts in your documents may be, you may run into trouble e.g. if you want to transfer files to a different, more restrictive file system.
Your Windows-centric point of view amuses me. There are very few file systems which are more restrictive than NTFS, at least in its default configuration. (Although one can turn on case sensitivity.)
Tux. ; tuxproject.de ; Windows 10 x64
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012

User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1170
Joined: 2005 Oct 16, 19:09

Re: blog: rinse filenames

Post by FrizzleFry » 2020 Sep 22, 11:15

The Windows 10 explorer will show a little popup when you try to add these characters to a filename:

\ / : ? * " < > |

xplorer2 does not complain if you try to rename a file using these illegal characters but it automatically replaces them with _ when you press enter

however sometimes if you rename a file to a single illegal character x2 apparently allows it but when the file list is refreshed you see that the illegal character was replaced with _ as expected

lnbrantley
Member
Member
Posts: 18
Joined: 2014 Aug 07, 21:18

Re: blog: rinse filenames

Post by lnbrantley » 2020 Sep 22, 14:39

Yes, I see that " is replaced by _ in 4.4.0.1.

Didn't earlier versions replace it with '' (two single-quotes)?

User avatar
nikos
Site Admin
Site Admin
Posts: 14704
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: blog: rinse filenames

Post by nikos » 2020 Sep 25, 05:01

I added a registry tweak to adjust the replacing character other than _

User avatar
pschroeter
Silver Member
Silver Member
Posts: 266
Joined: 2007 Jan 27, 00:46

Re: blog: rinse filenames

Post by pschroeter » 2020 Sep 26, 23:50

FrizzleFry wrote:
2020 Sep 22, 11:15
The Windows 10 explorer will show a little popup when you try to add these characters to a filename:

\ / : ? * " < > |
I think it's total bullocks that Windows can't be programmed to allow these characters in file names. It's a friggin computer and will do whatever it's told. The number of times I've wanted to use a colon or question mark in a filename is frustrating.

User avatar
nikos
Site Admin
Site Admin
Posts: 14704
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: blog: rinse filenames

Post by nikos » 2020 Sep 27, 09:01

but if you use colons in filenames, it could be mixed up with a path separator (ok only if it is in position #2)

Post Reply