FIXNames

Apr 2, 2011
1,281
3
53
North Carolina, USA
if a filename has either ( or ) it causes TCC/TCMD to double quote the name; Hence I think it would be nice if Fixnames would replace either char with maybe _ please.

Version I am using:
F/V: 0.28.0.0
P/V: 0.28.0
Size: 38.5
Date: 12/14/15 at 11:43am

P.S. Same thing with single quotes...... please....
 
Last edited:

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,221
78
Albuquerque, NM
prospero.unm.edu
I don't know why filename completion does that; I don't seem to need to quote such filenames. To prevent confusion with command grouping, perhaps? I've added a /C for parentheses.

Apostrophes: What's wrong with apostrophes?
 
Apr 2, 2011
1,281
3
53
North Carolina, USA
I am getting "No closing quote" on filenames so suggest quotes be added plz.....
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,221
78
Albuquerque, NM
prospero.unm.edu
I am getting "No closing quote" on filenames so suggest quotes be added plz.....
Theoretically, quotes are replaced with apostrophes. I don't know whether this has ever been tested, though. It shouldn't be possible to create a filename containing quotes -- they are illegal. Do you actually have filenames containing quotes?
 
Apr 2, 2011
1,281
3
53
North Carolina, USA
I do have filenames with an uneven number of quotes, and ones with ">", as shown in the attached bad_names.txt, attached. I have not used fixnames yet.
 

Attachments

Apr 2, 2011
1,281
3
53
North Carolina, USA
about post #7, I made a filelist with CMD doing "dir /a:-d /b /o:gen /s -path- > listfile" then ran the attached testing.btm as testing listfile, just to help catch any filenames that are not ok with TCMD.....
 

Attachments

Thread starter Similar threads Forum Replies Date
C Plugins 4
C Plugins 9
C Plugins 9
C Plugins 22