*CFOPEN

*CFOPEN, Fname, Ext, --, Loc
Opens a "command" file.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

Argument Descriptions

Fname

File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.

The file name defaults to Jobname.

Ext

Filename extension (eight-character maximum).

The extension defaults to CMD if Fname is blank.

--

Unused field.

Loc

Determines whether existing file will be overwritten or appended:

(blank) -- 

The existing file will be overwritten.

APPEND -- 

The file will be appended to the existing file.

Notes

Mechanical APDL commands specified by the *CFWRITE command are written to the file opened by *CFOPEN. Data processed with the *VWRITE command are also written to this file if the file is open when the *VWRITE command is issued.

Issue the *CFCLOS command to close the command file.

This command is valid in any processor.

Menu Paths

This command cannot be accessed from a menu.