The build.bat batch file ties all this together in 10 steps.
bat批文件在10步中完成以上所有操作。
Preparing a JRE for running the installation from a batch file.
为从批处理文件运行安装准备jre。
Creating a batch file to automate the installation and update tasks.
创建批处理文件来将安装和更新任务自动化。
Listing 11. Sample batch file for automating installation and update.
清单11.自动安装及更新的示例批处理文件。
Listing 11 shows an example of a batch file that automates all three tasks.
清单11介绍了将所有三项任务自动化的批处理文件的实例。
The batch file used to run the build utility then looks like Listing 11, below.
然后将会使用批文件来运行构建工具,如下面的代码清单11所示。
To start ObjectGrid servers, a batch file is provided called startOgServer.bat.
要启动ObjectGrid服务器,需要提供一个称为 startOgServer.bat 的批处理文件。
As we have explained, the registry and batch file handle launching the TCP client.
正如我们已经说明的那样,注册表和批处理文件将处理TCP客户机的启动。
When you shut down the OCAP ri, a script (batch file) tries to shut down VLC as well.
当您关闭ocap RI时,也会有一个脚本(批处理文件)试图关闭VLC。
Once this setup is done, the batch file or shell script is run to start the collection.
完成了此设置后,就可以运行批处理文件或外壳脚本来开始收集工作了。
By invoking a batch file, we can set up a suitable runtime environment for our program.
通过调用一个批处理文件,我们可以为我们的程序设置一个合适的运行时环境。
A batch file, called lm.bat, is supplied with the distribution to reduce tedious typing.
在发行版本中,还提供了一个批处理命令lm . bat,该命令用于减少繁琐的键入。
From a command prompt, invoke the batch file passing one of the sample XML files as input.
从命令提示调用批处理文件,将样例XML文件中的一个作为输入传递。
To retrieve data from the ObjectGrid, run the following batch file from the command prompt
要从ObjectGrid检索数据,请从命令提示符运行以下批处理文件
This section shows an example of a batch file that will automate the following three tasks.
本部分介绍了将以下三项任务自动化的批处理文件的实例。
To do this, I first called the ExportResources batch file to export all of the preferences.
为此,我首先调用了ExportResources批处理文件以导出所有的首选项。
These statements could be included as part of a batch file, if you created one in Section 3.
如果您在第3节创建了一个批处理文件,就可以将这些语句作为该文件的一部分包含在其中。
Note: Don't forget to move to the directory where the batch file is located using the CD command.
注意:别忘了先使用cd命令进入到这个批文件所在的目录。
URIClient.main() is executed when triggered by the batch file associated with the rcp:// protocol.
在由与rcp://协议相关的批处理文件触发后将执行 URIClient.main()。
If you have a large group of topics to convert, it is a good idea to develop a batch file to do this.
如果有大批主题需要转换,建立一个批处理文件是不错的办法。
Finally, this article shows you how a batch file can be used to install and update the product silently.
最后,本文介绍了如何使用批处理文件静默安装及更新产品。
The batch file is variable driven, so you can easily change a line or two to make it work on your system.
批处理文件是由变量驱动的,所以可以很容易地修改一两行代码使它在您的系统中运行。
Listing 15 shows the modified batch file, with the additional JVM trace configuration lines shown in bold.
清单15给出修改后的批文件,增加的JVM跟踪配置行以粗体显示。
You need to configure the SAP GUI executable file as an executable or batch file and record your selection.
您需要将SAPGUI可执行文件配置为可执行或者批处理文件,然后记录您的选择。
Now you know how to use a batch file to install and update a Rational Software Devolopment Platform product.
现在您知道如何使用批处理文件安装及更新Rational软件开发平台产品了。
In order for the batch file to be able to make calls directly to the JRE, you must perform the following steps.
为了让批处理文件能够直接调用JRE,您必须执行以下步骤。
Run a batch file or program that sets up the environment needed for a test and resets the environment afterward.
运行一个批处理文件或者程序,它可以建立测试所需的环境并且在以后可以重置此环境。
Netsh: You can execute this command at the command prompt or through a scripted batch file deployed at login.
您可以在命令提示符,或通过布署的登录时脚本批处理文件来执行这个命令。
If there is an error when the batch file runs, the command prompt displays the error message until you press a key.
在批文件运行时如果发生了什么错误,命令提示行会显示错误信息,直到您按下一个键为止。
Important: If you are invoking the installation program using a batch file, you will need to call the JRE directly.
重点:如果您使用批处理文件调用安装程序,那么您需要直接调用JRE。
应用推荐