sn -tp xxxx.snk >>result.txt
">>" is the symbol to output dos output result to a text file.
For example: you ran the command at C:/> directory.
The result.txt file would be at C:\result.txt
转载于:https://www.cnblogs.com/yangbin990/archive/2006/12/25/602748.html