Fixed character set in dir/copy

May 30, 2008
In 14.02.43 if you write
dir "d:\tmp\project[0-9]*"
or you use the filespec with copy:
copy "d:\tmp\project[0-9]*" d:\test\

then the command hangs (doing nothing right after showing the DIR header incl hd serial) right, and you have to click the close button as it doesn't respond to ctrl-c,ctrl-break.

I had to revert to x.42 because of the bug, and that one says and does what it should, i.e list/copy the files if they matches.

It seems like [0-9] is the offender, because if I remove that from the statement it runs as it should. It seems the path in the example can be any path as my original used C:\Users\...etc, but the above does the same.
May 20, 2009
In 14.02.43 if you write
dir "d:\tmp\project[0-9]*"
then the command hangs
I see the same here. I have drive D:, a data partition on my hd. It hangs if I have or have not the tmp directory, and if I have or have not project files or directories. If I try on a non existing drive, I get an error message, as expected. I did not test in build 42. This issue is also in TCC LE 13.05.67.
While I was testing this issue, by mistake I pasted the wrong line, and I had the same result (hang).
The wrong and without meaning line was
"[QUOTE] In 14.02.43 if you write"
I had to use the code trick otherwise the quote part would have been used as an instruction.
I report it here only because it might mean that the "[" and "]" are guilty.

Thank You and regards

Rodolfo Giovanninetti
Similar threads
Thread starter Title Forum Replies Date
vefatica WAD TCC: inconsistent character handling Support 11
vefatica @INT with comma as decimal character Support 2
vefatica What's this character? Support 12
rps Regex problem: \xnn not recognized as a hex character Support 0
old coot Regex problem: \xnn not recognized as a hex character Support 12
L How to? Character transfer among @BALLOC buffers, command tails, and possibly redirected standard streams Support 11
D How to? Filenames with "&" character Support 3
samintz WAD Copy/append adds a character Support 3
B Fixed FFIND doesn't find last character in file without CR/LF at EOF Support 1
M I'm unable to use @replace[] with a % character in string2 Support 12
Exolon V17 beta, debugger: STRG-S is inserting character instead of saving Support 12
J Passing % character through command line to .btm Support 5
dcantor Fixed Ctrl+Shift+Insert repeats last character Support 3
D Copy to clip changes character Support 24
S Fixed Build 48 - Non-ASCII Character mishandling Support 3
W Ascii character output Support 12
nickles Literal tab character Support 21
R One character alias prevents completion? Support 8
S Forum character encoding Support 2
M Escape-character issue... Support 7
vefatica @SUBST ... how replace character with a caret? Support 9
M Programmatically getting the console width in character Support 18
J How to pass a character like " " to a function Support 3
Jay Sage Dealing With Filenames Containing Slash Character Support 5
B A swedish character sent through keystack gets converted Support 4
nikbackm Alias expansion and switch character Support 2
V Set path permanently from within TCC? Support 3
S Debugger keeps breaking with no break point set. Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
R How to? Set default application in a special folder Support 4
A How to? Set up SMTP password in TCC-RT Support 1
vefatica WAD More SET /A woes Support 4
vefatica SET /A and multidimensional array. Support 1
M How to set Path variable for non-executable file extensions in 4DOS Support 8
D Need to set Take Command font size when switching to high DPI display Support 0
P "Set" command behavior - a bug? Support 3
M How to? Set the ribbon titles to mixed case Support 1
X How to set %_INIREAD result to variable Support 5
M WAD Set statements in () causes problems Support 8
M How to? How to set a default TITLE for newly opened tab? Support 2
M Fixed Set "VAR=VAL" format causes problems Support 12
vefatica SET /A var=expression=digits Support 3
cxxl Set encoding for batch file Support 4
B TCC 21.01.50 Problem with ALIAS /r and SET /r Support 2
vefatica SET /A var\=...? Support 10
dcantor Documentation SET /T: missing from heading Support 0
fpefpe Documentation Set /v Support 4
vefatica What's SET /Z? Support 1
R Fixed set /r has stopped working in build 35 Support 4
BeechComer Debugger: how to set %1 variable? Support 3

Similar threads