close
- Specifies arguments for the command specified earlier.
You can use the following redirection operators in this box:
<
Reads stdin from file.
>
Writes stdout to file.
>>
Appends stdout to file.
2>
Writes stderr to file.
2>>
Appends stderr to file.
2> &1
Sends stderr (2) output to same location as stdout (1).
1> &2
Sends stdout (1) output to same location as stderr (2).
In most cases, these operators are applicable only to console applications.
You can use the following redirection operators in this box:
<
file
Reads stdin from file.
>
file
Writes stdout to file.
>>
file
Appends stdout to file.
2>
file
Writes stderr to file.
2>>
file
Appends stderr to file.
2> &1
Sends stderr (2) output to same location as stdout (1).
1> &2
Sends stdout (1) output to same location as stderr (2).
In most cases, these operators are applicable only to console applications.
ref:
https://msdn.microsoft.com/en-us/library/kcw4dzyf.aspx
全站熱搜
留言列表