Run mod.bat with Spaces

From Valve Developer Community
Jump to navigation Jump to 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.