/DELETE

/DELETE, Fname, Ext, --, DistKey
Deletes a file.

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

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 the current Jobname.

Ext

Filename extension (eight-character maximum).

--

Unused field.

DistKey

Key that specifies whether the file deletion is performed on all processes in distributed parallel mode (Distributed ANSYS):

1 (ON or YES)

 — 

The program performs the file deletion locally on each process.

0 (OFF or NO)

 — 

The program performs the file deletion only on the master process (default).

Notes

In distributed parallel mode (Distributed ANSYS), only the master process will delete Fname.Ext by default. However, when DistKey is set to 1 (or ON or YES), the command is executed by all processes. In this case, Fname will automatically have the process rank appended to it. This means FnameN.Ext will be deleted by all processes, where N is the Distributed ANSYS process rank. For more information see Differences in General Behavior in the Parallel Processing Guide.

Menu Paths

Utility Menu>File>File Operations>Delete
Utility Menu>PlotCtrls>Redirect Plots>To GRPH File
Utility Menu>PlotCtrls>Redirect Plots>To HPGL File
Utility Menu>PlotCtrls>Redirect Plots>To HPGL2 File
Utility Menu>PlotCtrls>Redirect Plots>To PSCR File

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