There are the following three statements:
@echo [%windir%]
@echo [%%windir%%]
@echo [%%windir%%]|sort
The result output by the first statement is: [C:\WINDOWS]
The result output by the second statement is: [%windir%]
The result output by the third statement is: [C:\WINDOWS]
I want the third statement to also output: [%windir%]. How should I modify it?
(In my actual use, the piped output is not sort, but a third-party tool tr.exe)
@echo [%windir%]
@echo [%%windir%%]
@echo [%%windir%%]|sort
The result output by the first statement is: [C:\WINDOWS]
The result output by the second statement is: [%windir%]
The result output by the third statement is: [C:\WINDOWS]
I want the third statement to also output: [%windir%]. How should I modify it?
(In my actual use, the piped output is not sort, but a third-party tool tr.exe)
