View Single Post
Old 03-11-2012, 10:37 AM   #20
Backi
Connoisseur
Backi has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead communityBacki has become a pillar of the MobileRead community
 
Backi's Avatar
 
Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
Quote:
Originally Posted by theducks View Post
Way too much work for ALL the variants of the file systems supports.
AND
FAT and FAT32 are the common filesystems used on devices (even Linux devices)
OK, but if so, then there should appear some dialog warning that your string contains some unsupported characters and the resulting file/folder names will come out in a different way than you specified, instead of accepting them and pretending that they are valid.

Interestingly there is no problem with "+" on my FAT32 SD-card in my eReader.

Quote:
Originally Posted by PeterT View Post
Even though it might be a valid NTFS name it would still cause issues at the command prompt level in Windows.

Spoiler:

Code:
D:\Downloads\testplus>dir > a+b

D:\Downloads\testplus>dir
 Volume in drive D is D Drive
 Volume Serial Number is 122D-9E9C

 Directory of D:\Downloads\testplus

11/03/2012  09:13 AM    <DIR>          .
11/03/2012  09:13 AM    <DIR>          ..
11/03/2012  09:13 AM               337 a+b
               1 File(s)            337 bytes
               2 Dir(s)  318,907,011,072 bytes free

D:\Downloads\testplus>copy a+b c
The system cannot find the file specified.

D:\Downloads\testplus>copy 'a+b' c
The system cannot find the file specified.

D:\Downloads\testplus>copy "a+b" c
        1 file(s) copied.

D:\Downloads\testplus>dir /x
 Volume in drive D is D Drive
 Volume Serial Number is 122D-9E9C

 Directory of D:\Downloads\testplus

11/03/2012  09:13 AM    <DIR>                       .
11/03/2012  09:13 AM    <DIR>                       ..
11/03/2012  09:13 AM               337 A_B~1        a+b
11/03/2012  09:13 AM               337              c
               2 File(s)            674 bytes
               2 Dir(s)  318,907,011,072 bytes free
That's fine, but I don't process the names in a console. I use "+" as prefix only to indicate collapsible categories (like the "+" in a GUI), which are sorted before other folders without "+".

I'll use one of the batch renaming tools like dwig wrote to incorporate the "+".

Last edited by Backi; 03-11-2012 at 10:40 AM.
Backi is offline   Reply With Quote