Is it possible to change an .rtf file to .txt file using some sort of batch script on Windows?
问题 We have a .rtf file that needs to be downloaded from a Windows machine, but it contains a lot of pictures in it so it is 2 GB. I would like to download just the text from this file, so it would be ideal if there was an automated script that ran each day on the Windows machine that could convert this file from rtf to txt. Is there a way to do this? 回答1: You can use unrtf. unrtf --text /path/to/rtf 回答2: Depending on your skill level, you can Use Office Automation to build a script in Word to