$popd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (minor cleanup)
Line 1: Line 1:
This will revert the working directory to what it was before the [[$pushd]] command was issued.
This will revert the working directory to what it was before the [[$pushd]] command was issued.


==Description==
== Syntax ==


  $popd
  $popd


==Example==
== Example ==
  $modelname "props/fan.mdl"
  $modelname "props/fan.mdl"
  $cdmaterials "models/props/"
  $cdmaterials "models/props/"
Line 14: Line 14:
  $sequence "idle" "idle.smd"
  $sequence "idle" "idle.smd"


 
[[Category:QC Commands|popd]]
[[Category:QC Commands]]

Revision as of 15:33, 28 April 2008

This will revert the working directory to what it was before the $pushd command was issued.

Syntax

$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"