Showing results for August 23, 2006 - The Old New Thing

Aug 23, 2006
Post comments count0
Post likes count1

Environment variable expansion occurs when the command is read

Raymond Chen
Raymond Chen

On the command line (and in batch files), environment variable expansion occurs when the command is read. This sounds obvious at first, but it has its own consequences. In the online documentation for , one such consequence is spelled out: would never display the message, since the in both "" statements is substituted when the first "" state...

Code