Welcome!

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

SignUp Now!

WAD Unknown Command?

samintz

Scott Mintz
May
1,582
27
I was typing and accidentally hit Enter before I was done and ended up with a command line similar to this:
Code:
I=3
That seems to act like a REM statement or something. No errors. No output. It just gave me back the prompt.
Something about the equals sign causes that behavior. Just typing 'I=' does the same thing.
Is that expected?

TCC 20.00.15 x64 Windows 7 [Version 6.1.7601]
TCC Build 15 Windows 7 Build 7601 Service Pack 1
 
This is a feature, not a bug.

From the "What's New in v19":

If the first argument on a command line is in the format "env_var=value command options" (and env_var=value doesn't match an external command) then TCC will set the specified environment variable to the value, execute the command, and then remove the variable.​
 
Okay. So when 'command' is empty, it doesn't do anything. Was this a requested feature or a weird CMD compatibility thing or what?
 

Similar threads

Back
Top