@Rock Vacirca
Remove that line to have the cmd window open.

I want to use this code to make a better console for my cs server.
The cs server can't be run with the DEP (Data Execution Protection), so i have disabled the dep for the file. When i run it from my shortcut on the desktop the server runs fine, starts a cmd-like window. But when i run it via your code, it runs with DEP, can i disable DEP in the .StartInfo or?
But when i change the .filename to the path to the file (hlds.exe)