使用ofc.exe转换批量 [英] Convert bulk using ofc.exe
问题描述
我想将文件夹和所有子文件夹中的所有excel 97-2003文件转换为新格式。
我已将MigrationPlanningManager.exe安装到系统和我还安装了 FileFormatConverters.exe (包括SP2)
然后我配置了C:\OMPM \ ofc.ini,我只更改了以下行:
[ RUN]
; LogDestinationPath:将日志文件写入的路径
LogDestinationPath = C:\OMPM \ OFCLogs
[FoldersToConvert]
fldr = d:\ temp
[ConversionInfo ]
SourcePathTemplate = * \ * \ * \
DestinationPathTemplate = \ * 1 \ * 2 \ * 3 \转换了
然后我开始C: \ compm\Tools\ofc.exe,
..它工作正常,....除了几件事:
1)我期待一个日志文件在C:\OMPM \ OFCLogs中,但此目录保持为空:((我有一些文件受密码保护,未转换,并在日志文件中将此ifo过期。
2)有没有办法只选择excel文件进行转换?
我不想转换这些目录中的* .doc和* .ppt文件。
3)是有一种方法可以移动转换到其他目录的原始文件,以确保您没有2个版本,并且您可以继续处理转换后的文件(我想合并原始目录和de转换目录)。
thi,Johan
嗨Johan,你可以尝试过这个工具: B2XTranslator (简介)
Hi,
I want to convert all excel 97-2003 files in a folder and all sub folders to the new format.
I have installed MigrationPlanningManager.exe into the system and I have also installed FileFormatConverters.exe (icluding SP2)
Then I Have configured C:\OMPM\ofc.ini, I only have changed the follwing lines:
[RUN]
; LogDestinationPath: the path where the log files will be written to
LogDestinationPath=C:\OMPM\OFCLogs
[FoldersToConvert]
fldr=d:\temp
[ConversionInfo]
SourcePathTemplate=*\*\*\
DestinationPathTemplate=\*1\*2\*3\converted
Then I start C:\ompm\Tools\ofc.exe,
.. and it works fine, .... except a couple of things :
1) I expected a log file in C:\OMPM\OFCLogs, but this directory stays empty :((
I have some files Password protected, that are not converted, and expted this ifo in the logfile.
2) Is there a way to select only excel files for conversion?
I Do not want to convert the *.doc and *.ppt files in these directory's.
3) Is there a way to move the original files that are converted to a other directory, to be sure you do not have 2 versions and you can continue working on converted files only (I want to merge the original directory and de converted directory).
thi, Johan
Hi Johan,
You may tried this tool: B2XTranslator (introduction), developed by MS Interoperability team.
这篇关于使用ofc.exe转换批量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!