Taken from /r/MoneroSupport:
I'm having trouble exporting my wallet transaction history from monero-wallet-cli.exe into a usable format. I'm using Windows 7 and v0.10.3.1-release. "show_transfers" prints out all the info I need into the console, but I can't figure out a way to copy-paste it into a .txt file or output it in any other way.
I tried "show_transfers >> txns.txt" but got this error: "Error: Bad min_height parameter: >>"
I found this, which doesn't get me any further than I already am: How can I get a transaction history of sent and received transfers for my account?
Any help would be much appreciated, thanks.