$pushd and $popd: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The [[QC command]]s ''' | The [[QC command]]s '''$pushd''' and '''$popd''' 'push' and 'pop' directories to and from the QC's active folder. Multiple <code>$pushd</code> can be nested inside each other, so long as there are a corresponding number of <code>$popd</code>. | ||
== Syntax == | == Syntax == |
Revision as of 05:27, 2 January 2012
The QC commands $pushd and $popd 'push' and 'pop' directories to and from the QC's active folder. Multiple $pushd
can be nested inside each other, so long as there are a corresponding number of $popd
.
Syntax
$pushd <path> ... $popd
Example
$modelname "props\fan.mdl" $cdmaterials "models\props\" $model fan "fan.smd" $pushd ".\new animations\" $sequence rotate "rotate.smd" $popd $sequence idle "idle.smd"