*CFOPEN

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

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

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

Data processed with the *VWRITE command will also be written to this file if the file is open when the *VWRITE command is issued.

This command is valid in any processor.

Menu Paths

This command cannot be accessed from a menu.

Release 18.2 - © ANSYS, Inc. All rights reserved.