System commands To pass commands to the UNIX shell or DOS window, use the Tcl exec command: echo The date is [exec date]
To pass commands to the UNIX shell or DOS window, use the Tcl exec command:
echo The date is [exec date]