Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

CMD.EXE and filename(1).ext

Aug
1,834
61
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

Replies
0
Views
872
Back
Top