CMD.EXE and filename(1).ext

In CMD.EXE, this works;
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

c:\utils>echo Hello > sys(1).prg

c:\utils>type sys(1).prg
Hello

This creates the file sys(1).prg with the contents Hello

In TCC 18 through to 21, this does not work;
Code:
c:\users\jlc\utils>ver /r

TCC  18.00.32 x64   Windows 7 [Version 6.1.7601]
TCC Build 32   Windows 7 Build 7601  Service Pack 1
Registered to Joe Caverly - 1 System License

c:\users\jlc\utils>echo Hello > sys(1).prg

c:\users\jlc\utils>type sys(1).prg
TCC: (Sys) The system cannot find the file specified.
 "C:\Users\jlc\utils\sys(1).prg"

This creates the file sys with the contents Hello (1).prg

Joe
 
Similar threads
Thread starter Title Forum Replies Date
L FTYPE in TCC, less quirky than in cmd.exe Support 3
Joe Caverly PUSHD with UNC path in CMD.EXE Support 2
I how to make TCC default/replace cmd.exe? Support 9
M Command line parsing differences between cmd.exe and TCC Support 6
Joe Caverly Works with CMD.EXE, no output with TCC.EXE Support 7
L WAD ECHO. expansion of non-existent env-vars differs from CMD.exe Support 6
Joe Caverly "Functions" in cmd.exe batch files Support 6
P Labels in batch files: TCC vs CMD.exe Support 9
TT's Help! Uninstalling TCC did not restore cmd.exe as Win10 default batch file processor. Support 4
D Tab completion differences with cmd.exe Support 3
R Difference in behavior of RMDIR vs. CMD.EXE? Support 5
D Run all .CMD batch files with CMD.EXE Support 16
noahcoad WAD cmd.exe under tcc doesn't find apps Support 4
R How to set comspec to point to cmd.exe? Support 5
C Defaults for CMD.EXE under XP Pro sp3? Support 1
noahcoad c:/hello.txt works in cmd.exe but not tcc.exe Support 1
noahcoad Fixed tcc /k not emulating cmd.exe w double quotes Support 1
A Auto-Complete aka F8 in cmd.exe Support 6
G TCMD does not get same result as cmd.exe Support 22
C .bat files works in cmd.exe, not in TCMD Support 6
daniel347x Different results with TCC than with cmd.exe Support 2
dolmen Compatibility issues with cmd.exe Support 1
daniel347x How to get Take Command to read in all current system environment variables that CMD.EXE sees? Support 13
M Take Command vs. cmd.exe Support 7
R Compatibility issue with CMD.EXE Support 2
R A collection of incompatibilities with CMD.EXE Support 6
D Peculiar symptoms w/ 4NT, TCC/LE vis a vis CMD.EXE Support 11
S CMD.EXE icon Support 1
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
Peter Murschall Single-line Do-CMD is a bit uncooperative. Support 6
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
T Date format date different from cmd Support 7
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
E TCC/CMD difference Support 5
S How to? Deinstalling TC/reinstating execution of bat files by cmd in Win7 Support 31
D How to? Pass OpenHere Folder to CMD? Support 6
R Difference between TCC and CMD: variable names with hyphens Support 4
M WAD "Pictures" directory is empty in TCC but not in CMD or Explorer Support 4
rps Cmd history recall Support 4
rps Documentation TITLE cmd docs Support 0
W Starting program for word to pdf conversion (difference cmd and tcc) Support 13
Joe Caverly Using this CMD technique from TCC Support 17
W If command - different with CMD Support 6
R FOR usage error from TCC but not from CMD Support 16
I findstr works in cmd but not in tcc Support 5
D Pasting Unicode data has different behavior on TCC and CMD Support 2
Joe Caverly tcommand(cmd) Support 13
Joe Caverly Works in debugger, not from cmd line Support 1
K CMD, TCC, VisualStudio 2017, VcVars* differences Support 1

Similar threads