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

$cd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(still exists in "modern" source)
No edit summary
 
Line 4: Line 4:


{{deprecated|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 {{src06}}, [[$pushd and $popd]] can be used if different source files need different working directories.}}
{{deprecated|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 {{src06}}, [[$pushd and $popd]] can be used if different source files need different working directories.}}
[[Category:QC commands]]

Latest revision as of 19:33, 16 July 2025

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.