是否可以在Windows上使用某种批处理脚本将.rtf文件更改为.txt文件? [英] Is it possible to change an .rtf file to .txt file using some sort of batch script on Windows?

查看:108
本文介绍了是否可以在Windows上使用某种批处理脚本将.rtf文件更改为.txt文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个.rtf文件,需要从Windows计算机上下载该文件,但其中包含很多图片,因此大小为2GB.我只想从该文件中下载文本,因此,如果每天在Windows机器上运行一个可以将该文件从rtf转换为txt的自动化脚本,那将是理想的选择.有办法吗?

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?

推荐答案

您可以使用 unrtf .

unrtf --text /path/to/rtf

这篇关于是否可以在Windows上使用某种批处理脚本将.rtf文件更改为.txt文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆