Thread: Run dos program invisibly?

  1. #1
    Wanabe Laser Engineer chico1st's Avatar
    Join Date
    Jul 2007

    Run dos program invisibly?

    Is there a way to execute a program through dos without making it visible?

    I run an exe in dos which opens another program with a window. I would like to be able to keep the second window hidden, is that possible?


  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Assuming you're not talking about an actual "DOS" application - the correct terminology is "console" application. Whether it's a console or windows (gui) application, you can start them hidden using the CreateProcess Win32 API. You should find plenty of examples searching these boards.


  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to time how long a program takes to run?
    By advancedk in forum C Programming
    Replies: 2
    Last Post: 08-18-2008, 07:50 PM
  2. Replies: 4
    Last Post: 07-24-2008, 09:02 AM
  3. program won't run properly, help needed asap
    By jlmac2001 in forum C Programming
    Replies: 2
    Last Post: 11-16-2002, 09:52 AM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. initialising a DOS program from a C enviroment
    By Robert_Ingleby in forum C Programming
    Replies: 5
    Last Post: 03-07-2002, 01:53 PM