$cd
Jump to navigation
Jump to search
(only in )(not in (exceptin ))
Used to set the current working directory for the QC script.
Important:(in all games since ) For Source, starting directory is inferred to be QC file location, with $pushd and $popd being used to change the directory instead.
Description
$cd "path/to/files/"
The default working directory will be the folder of the .qc file.
Parameters
- The path should be a full or relative path on the file system.