我一直试图理清一个巨大 (100+GB) 或者说，我已经内置了多年来的教学资源。之后，明显的步骤 (删除空, TEMP和重复的文件) 和排序的大文件 (e.g. 视频, 应用程序安装程序) 我留下了大量的办公文档。我慢慢地通过这些工作, 但很多都是 2003 甚至旧格式文件 - 一些老的字 6! 我每次打开这些文件时提示我输入各种安全警告之一。惠斯特这些可以被关闭 (见下文) 它是更安全离开他们, 我想所有的文件转换办公室 2007 (DOCX, XLSX等) 格式。批量转换肯定是要走的路.
There are several advantages to conversion beyond the problems with security warnings. Documents saved in the newer formats are significantly smaller, and as they are based on open formats, are much more compatible, e.g. with google docs and open office. This may prove very advantageous in the future. I discovered that the size reduction alone makes going to the trouble worthwhile — first 220 word documents i converted were reduced from 63Mb to 25Mb. You may think saving 175k per file isn’t worthwhile, but if you have 110,000 档 (as I did) you will save around 18Gb — a big saving if you’re using a a USB Thumbdrive, older external 硬盘 要么 固态硬盘 systemdrive.
Microsoft offer a utility called OFC to batch convert office documents so this seemed the obvious way to proceed. OFC is part of the Microsoft Office Migration Planning Manager. To utilise it fully you will also need to download the 办公室 2007 Compatibility Pack, which includes lots of file-format converters. Install the compatibility pack first, then run the installer for the migration planning manager. You will be prompted to pick a location to extract to — I’d put it in your documents or downloads folder as it makes file editing easier.
To run the converter you simply open the extracted path, open the tools directory and run ofc.exe. However, You wont achieve much this way as OFC doesn’t have a 图形用户界面 — it uses ini files. There will be an OFC.ini file included in the tools folder as an example. You will need to edit it — you can use notepad or any text editor to do so.
There are actually lots of options for configuring ofc.ini, but I’m just interested in converting all the files in a particular folder (and subfolders) into newer file formats. To do this make the following edits. This will owrk with path-depths up to 9 subfolders deep — there seems to be a bug that prevents it working beyond that.
Note — If you just want to disable security warnings (e.g. in word) then please refer to the helpful instructions provided by Microsoft.
由于 Eric White for the initial links and clues
发现这个有用? 请不要让我们知道通过下降到低于评论. 如果您想订阅，请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.