斯潘8
斯潘4
什么是批处理方法2:命令文件?
fme COMMAND_FILE
C:\dxf2dgn.fmw--源数据集C:\in1.dxf--目标数据集C:\out1.dgn日志\u文件名C:\fm.log
注意:您不需要在命令前面加上“fme”,因为当您发出命令“fme command_file”时,fme已经启动。
日志文件名关键字是可选的,但允许写入日志文件,因此建议这样做。
So inserting several commands into a Command File gives you a "batch" file which can be executed using the fme command above,或者将该命令本身放入*.bat文件。
fme.exe c:\temp\command.fmw--sourcedataset_acad“”“”c:\fme data\data\water\distribution_l25.dwg“”c:\fme data\data\water\distribution_l26.dwg“”“”--destdataset_dgnv8 c:\temp\output.dgn
虽然这在普通的命令行上运行是可以接受的,it will fail inside a command file because the parser will misinterpret the number of items on the command line.
Ultimately,FME在其映射文件中,需要看到这样的内容:
“”C:\dale\data\testsuper\fc.shp“”C:\dale\data\testsuper\mplan.shp“”“
fme.exe c:\temp\command.fmw--源数据集“acad”\“\”c:\fme data\data\water\distribution\u l25.dwg\“\”c:\fme data\data\water\distribution\u l26.dwg\“\”--目标数据集“dgnv8 c:\temp\output.dgn
"C:\dale\data\testSuper\fc.shp C:\dale\data\testSuper\mplan.shp"
这意味着在命令文件中有:
“C:\dale\data\testsuper\fc.shp C:\dale\data\testsuper\mplan.shp\”“
?2019安全亚搏在线软件公司|合法的