Batch file 如何在运行批处理文件时抑制messagebox弹出窗口

Batch file 如何在运行批处理文件时抑制messagebox弹出窗口,batch-file,Batch File,我正在编写一个小脚本,它接受一个sql转储,将其转换为xml,然后将xml转换为html页面,最后将其转换为pdf 我已经编写了一个批处理文件,但我始终会收到弹出消息框,告诉我在每个步骤中发生了什么 您将如何抑制这些消息框 我的批次简单地说: @echo off transform data_files\sql_dump data_files\sql_to_xml transformed_files\sql_dump_to_xml transform transformed_files\sql

我正在编写一个小脚本,它接受一个sql转储,将其转换为xml,然后将xml转换为html页面,最后将其转换为pdf

我已经编写了一个批处理文件,但我始终会收到弹出消息框,告诉我在每个步骤中发生了什么

您将如何抑制这些消息框

我的批次简单地说:

@echo off

transform data_files\sql_dump data_files\sql_to_xml transformed_files\sql_dump_to_xml
transform transformed_files\sql_dump_to_xml data_files\convert_to_html_amt transformed_files\converted_to_html_amount html
transform transformed_files\sql_dump_to_xml data_files\convert_to_html_date transformed_files\converted_to_html_date html
transform transformed_files\sql_dump_to_xml data_files\convert_to_html_sperson transformed_files\converted_to_html_salesperson html
transform transformed_files\sql_dump_to_xml data_files\convert_to_fo transformed_files\converted_to_fo fo
fop transformed_files\converted_to_fo.fo transformed_files\converted.png
fop transformed_files\converted_to_fo.fo transformed_files\converted.pdf
fop transformed_files\converted_to_fo.fo transformed_files\converted.rtf

谢谢。

批处理文件本身不会发出任何MessageBox

尝试阅读
transform
fop
工具的文档,可能它们需要一个特殊的标志来保持安静


通常,命令行工具在运行时会显示其支持的开关,例如
fop-h
fop-?
fop/?
fop--help

谢谢,非常有意义,必须将两者分开。嗯。