Editing and Customization > Resources, Tools, Tips & Workarounds
[TIP] How to keep cmd prompt open when using drag&drop method of compiling.
(1/1)
Konrad Beerbaum:
When using studiomdl to compile, there are 2 ways of doing it, the pain in the ass cmd prompt way, and dragging and dropping the .qc file onto a shortcut to studiomdl.exe. The downside of the drag and drop is that the window doesn't stay open so you can see any errors. Until now that is.
Create a shortcut to the studiomdl.exe file located in SteamApps\user name\sourcesdk\bin\
Right click on the shortcut, and go to properties.
In the "Target" field, add in C:\WINDOWS\system32\cmd.exe /K in front of the rest of the target.
Click OK.
So for example, mine looks like this: C:\WINDOWS\system32\cmd.exe /K J:\Valve\Steam\SteamApps\username\sourcesdk\bin\studiomdl.exe
Now the dos window will stay open after compiling so you can see the results.
Navigation
[0] Message Index
Go to full version