2.4.2. System Commands for Windows-based Operating Systems

If you are running ANSYS Fluent Meshing on a Windows operating system, all characters following the ! up to the next newline character will be executed. The results of a command will appear in the ANSYS Fluent Meshing console, or in a separate window if the command starts an external program, such as Notepad.

> !del junk.*

> !notepad script.rp

!cd and !dir execute the DOS commands and the screen output appears in the ANSYS Fluent Meshing console. The !cd command with no argument displays the current working directory in the ANSYS Fluent Meshing console.

Example input and output (in the ANSYS Fluent Meshing console):

 > !cd

p:/cfd/run/valve
 > !dir valve*.*/w

     Volume in drive P is users
     Volume Serial Number is 1234-5678
     Directory of p:/cfd/run/valve
     valve1.cas      valve1.msh      valve2.cas      valve2.msh
        4 File(s)               621,183 bytes
        0 Dir(s)          1,830,088,704 bytes free 

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