- May
- 382
- 2
When I use [0-9][0-9][0-9] as a wildcard character class in a DIR command, TCC shows a file not found error for an existing file when the file path includes "[something]". Replacing ??? for the character class works around this issue.
If I CD into the folder and DIR again I still get an error message.
Rex, can this be fixed? The work-around I found isn't sufficient for my needs.
Thanks
Versions:
TCC 9.02.157 Windows XP [Version 5.1.2600]
TCC LE 10.00.74 Windows XP [Version 5.1.2600]
Windows XP Pro SP3 English
C:\>touch /C "a [test]\a b "000" d.e f"
9/20/2010 8:46:28.390 C:\a [test]\a b 000 d.e f
C:\>dir "a [test]\a b "[0-9][0-9][0-9]" d.e f"
TCC: (Sys) The system cannot find the file specified.
"C:\a [test]\a b [0-9][0-9][0-9] d.e f"
0 bytes in 0 files and 0 dirs
C:\>dir "a [test]\a b "???" d.e f"
Directory of C:\a [test]\a b ??? d.e f
9/20/2010 11:46 0 a b 000 d.e f
0 bytes in 1 file and 0 dirs
C:\>cd "a [test]"\
C:\a [test]>dir "a b "[0-9][0-9][0-9]" d.e f"
TCC: (Sys) The system cannot find the file specified.
"C:\a [test]\a b [0-9][0-9][0-9] d.e f"
0 bytes in 0 files and 0 dirs
C:\>
If I CD into the folder and DIR again I still get an error message.
Rex, can this be fixed? The work-around I found isn't sufficient for my needs.
Thanks
Versions:
TCC 9.02.157 Windows XP [Version 5.1.2600]
TCC LE 10.00.74 Windows XP [Version 5.1.2600]
Windows XP Pro SP3 English
C:\>touch /C "a [test]\a b "000" d.e f"
9/20/2010 8:46:28.390 C:\a [test]\a b 000 d.e f
C:\>dir "a [test]\a b "[0-9][0-9][0-9]" d.e f"
TCC: (Sys) The system cannot find the file specified.
"C:\a [test]\a b [0-9][0-9][0-9] d.e f"
0 bytes in 0 files and 0 dirs
C:\>dir "a [test]\a b "???" d.e f"
Directory of C:\a [test]\a b ??? d.e f
9/20/2010 11:46 0 a b 000 d.e f
0 bytes in 1 file and 0 dirs
C:\>cd "a [test]"\
C:\a [test]>dir "a b "[0-9][0-9][0-9]" d.e f"
TCC: (Sys) The system cannot find the file specified.
"C:\a [test]\a b [0-9][0-9][0-9] d.e f"
0 bytes in 0 files and 0 dirs
C:\>