$cd: Difference between revisions
Jump to navigation
Jump to search
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
, $pushd and $popd can be used if different source files need different working directories.
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) (still exists in "modern" source) |
||
Line 1: | Line 1: | ||
{{tabsBar|main=gs|base=$cd}} | {{tabsBar|main=gs|base=$cd}} | ||
{{stub}} | {{stub}} | ||
{{this is a|QC command|engine=source| | {{this is a|QC command|engine=source|name=$cd}} Dictates the base working directory. | ||
{{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]] | [[Category:QC commands]] |
Revision as of 17:35, 3 April 2025
$cd
is a QC command available in all Source games. Dictates the base working directory.

