GoldenEye: Source Forums

  • December 21, 2024, 03:59:08 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [TIP] How to keep cmd prompt open when using drag&drop method of compiling.  (Read 9786 times)

0 Members and 1 Guest are viewing this topic.

Konrad Beerbaum

  • Retired Lead Developer
  • 007
  • *
  • Posts: 1,343
  • Reputation Power: 1
  • Konrad Beerbaum has no influence.
  • Offline Offline
    • Konrad Beerbaum Online Portfolio

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. 
« Last Edit: February 09, 2009, 07:17:05 am by Sean [Baron] »
Logged
Konrad Beerbaum: Environment Artist
http://www.konradbeerbaum.com
Pages: [1]   Go Up