Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


[Help] Suppress Output from cmd?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic




  • Member
  • PipPip
  • 127 posts
  • Joined 22-June 04
I am creating some shortcuts to start some process at a higher level. This is easy accomplished with, for example:
C:\WINDOWS\system32\cmd.exe /c start "runhigh" /high "C:\Program Files\AppFolder\Appname.exe"

However, this causes a command prompt window to quickly open when the command is executed, then close when finished. Is there a way to suppress this window?

Edited by ODC, 08 May 2006 - 12:20 PM.

How to remove advertisement from MSFN




  • Member
  • 21 posts
  • Joined 02-May 06
Set up the shortcut to run minimized...that should do the trick.





  • Member
  • 36 posts
  • Joined 02-March 04
I know this sounds weird, but you could call the command from within a VBScript, and have it supress the CMD window.

Option Explicit
Dim oShell
Set oShell = CreateObject("WScript.Shell")

oShell.Run "C:\WINDOWS\system32\cmd.exe /c start " & Chr(34) &  "runhigh" & Chr(34) & " /high " & Chr(34) & "C:\Program Files\AppFolder\Appname.exe" & Chr(34),0,True



    Beatbox Rocker

  • Member
  • Pip
  • 66 posts
  • Joined 16-March 06
extract cmdow.zip to windows\system32 and then run your batch file like this:

cmdow @ /HID

C:\WINDOWS\system32\cmd.exe /c start "runhigh" /high "C:\Program Files\AppFolder\Appname.exe"


Edited by ophiel, 08 May 2006 - 06:49 PM.

banned because of attitude against crew and fellow members.