Dario D.
Spy
- Joined
- Nov 30, 2004
- Messages
- 710
- Reaction score
- 0
I made a batch file following a tutorial so that I could compile my map while using Hammer, but I get this error in DOS when running it:
My batch file looks like this in notepad:
I checked and double-checked the directories, and they are correct. I dont understand.
Edit: Ah, nevermind. I got it. The tutorial was written without any backslashes between the folder names, so I added them and it works now. Example:
"D:Half Life 2SteamAppsdariodeesourcesdkbinvbsp.exe"
should be
"D:\Half Life 2\SteamApps\dariodee\sourcesdk\bin\vbsp.exe"
Code:
The system cannot find the file specified.
'"D:Half Life 2SteamAppsdariodeesourcesdkbinvbsp.exe"' is not recognized as an i
nternal or external command,
operable program or batch file.
'"D:Half Life 2SteamAppsdariodeesourcesdkbinvvis.exe"' is not recognized as an i
nternal or external command,
operable program or batch file.
'"D:Half Life 2SteamAppsdariodeesourcesdkbinvrad.exe"' is not recognized as an i
nternal or external command,
operable program or batch file.
Press any key to continue . . .
My batch file looks like this in notepad:
Code:
@echo off
copy "D:Half Life 2SteamAppsdariodeesourcesdkhl2mp_sample_contentmapsdm_plaza17.vmf" "D:Half Life 2SteamAppsdariodeehalf-life 2 deathmatchhl2mpmaps"
"D:Half Life 2SteamAppsdariodeesourcesdkbinvbsp.exe" "D:Half Life 2SteamAppsdariodeehalf-life 2 deathmatchhl2mpmapsdm_plaza17.vmf"
"D:Half Life 2SteamAppsdariodeesourcesdkbinvvis.exe" -fast D:Half Life 2SteamAppsdariodeehalf-life 2 deathmatchhl2mpmapsdm_plaza17.vmf
"D:Half Life 2SteamAppsdariodeesourcesdkbinvrad.exe" -fast D:Half Life 2SteamAppsdariodeehalf-life 2 deathmatchhl2mpmapsdm_plaza17.vmf
pause
I checked and double-checked the directories, and they are correct. I dont understand.
Edit: Ah, nevermind. I got it. The tutorial was written without any backslashes between the folder names, so I added them and it works now. Example:
"D:Half Life 2SteamAppsdariodeesourcesdkbinvbsp.exe"
should be
"D:\Half Life 2\SteamApps\dariodee\sourcesdk\bin\vbsp.exe"