Problem: This is general information covering the use of the $!SYSTEM macro command which lets you execute a windwos system command from within a Tecplot macro.

Solution: To have the $!SYSTEM macro command execute any Windows command (such as dir mkdir xcopy etc.) follow the syntax shown below which are for the xcopy command:$!SYSTEM cmd /C xcopy (runs the command and then closes the command window) $!SYSTEM cmd /K xcopy (runs the command but the command window remains) For other cmd options type cmd /? at the command prompt.Do not add cmd /C when running on a non-Windows system.

Tagged with:  
Share →