Run mod.bat with Spaces

From Valve Developer Community
Revision as of 16:39, 16 December 2008 by Baliame (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.