03. How to open, edit, and save a Batch file (*.BAT) for future use with AutoPIPE?


Applies To
Product(s):AutoPIPE
Version(s):2004, XM, V8i, CONNECT;
Area: Processing
Original Author:Bentley Technical Support Group
Date Logged
& Current Version
Apr. 2016
10.01.00.05

Problem:

How to open, edit, and save a Batch file (*.BAT) for future use with AutoPIPE?

Solution:

batch file is a collection, or list, of commands that are processed in sequence often without requiring user input or intervention. In Windows, a batch file has the extension *.bat. An AutoPIPE batch file would start the AutoPIPE program, open a specific AutoPIPE model, perform some simple operations, closes the file, and continues processing the next model until the last line of the script was completed. Example of an actual AutoPIPE batch File needed to perform these operations:

The Batch Generator application was created to only:

  1. Assist the user in creating a batch file
  2. Processing current models and settings currently shown on the dialog
  3. Previewing batch data. 

IF the batch generator does not specifically open, edit, or save an existing batch file then how can these operations be done?

Saving an AutoPIPE Batch file (*.BAT)

After opening the AutoPIPE Batch Generator and creating a script to be run, one can save all the settings to a batch file by pressing "Generate Batch File"   button. This will create a batch file and will be automatically opened in Notepad, where the user can then save save the batch file with a specific name to any folder for future use.

Opening, Editing, and Running an existing Batch file (*.BAT)

By design, the Batch generator will not be able to open, edit, or run an existing Batch file. All of these operations can be performed as one would normally do with any existing windows batch files (*.BAT). Suggest searching the internet for specific instructions or videos.

a. How to open / edit a *.BAT file

b. How to run a *.BAT file

Another great source of information, contact your company's IT department for assistance on how to Open, Edit, and Run a Batch file (*.BAT).

See Also

Trouble Shooting Batch Processing

Bentley AutoPIPE