Question: how to export data from cmd to text file?
Answer: Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. In the command make sure to replace "YOUR-COMMAND" with your command-line and "c:\PATH\TO\FOLDER\OUTPUT. txt" with the path and file name to store the output.