Run mod.bat with Spaces: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edit of TrmonTrocd, changed back to last version by Deathz0rz)
No edit summary
Line 1: Line 1:
[[Category:Source_SDK_FAQ]]
[[Category:Source_SDK_FAQ]]
The most common cause for this error is having spaces in the MOD's game directory (i.e. <code>c:\My Mod\</code>). This problem will be resolved in a future update. Until then, it is recommended you alter your directories to exclude this formatting.
The most common cause for this error is having spaces in the MOD's game directory (i.e. <code>c:\My Mod\</code>). This problem will be resolved in a future update. Until then, it is recommended you alter your directories to exclude this formatting.
If you need to keep the spaces in the directory for some reason, wrap the paths in double quotes. As an example, <code>c:\My Mod\</code> becomes <code>"c:\My Mod\"</code> which will be treated properly by cmd.exe.

Revision as of 02:28, 17 June 2008

The most common cause for this error is having spaces in the MOD's game directory (i.e. c:\My Mod\). This problem will be resolved in a future update. Until then, it is recommended you alter your directories to exclude this formatting.

If you need to keep the spaces in the directory for some reason, wrap the paths in double quotes. As an example, c:\My Mod\ becomes "c:\My Mod\" which will be treated properly by cmd.exe.