This article's documentation is for anything that uses the Source engine. Click here for more information.

$cd

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

$cd is a QC command available in all Source Source games. Dictates the base working directory.

Obsolete-notext.pngDeprecated:The base working directory defaults to the same folder as the QC script, which is usually what is desired. This command can still be used (only once!) if a different base working directory is desired. Since Source 2006, $pushd and $popd can be used if different source files need different working directories.