file command read
Reads a command file and executes the commands contained within. The commands will be executed as if they were typed at the command line. Control will be returned after all the commands have been executed. If an error is detected in one of the commands and Adams View is unable to process the command, the system can react in one of several ways. This can be specified using the
defaults command_file command, the default being to abort the file.
Format:
file command read |
|---|
file_name = | string |
Example
file command read & |
|---|
file_name = | “C:\mydir\mymodel_1.cmd” |
Description:
Parameter | Value Type | Description |
|---|
file_name | String | Specifies the name of the file that is to be read and executed. |
Extended Definition:
1. The proper extension for the file_name parameter is the default (.cmd), but you can override it by supplying a different extension.
2. It is not necessary to enclose the file name in quotes if it only contains alpha-numeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[ ]' for directory paths, you must enclose the file name in quotes.