Thread: program open and closes

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    69

    program open and closes

    I downloaded a program in dos and it just opened and closed, why is that happening, or is it just my computer

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Are you running the program in MS-DOS or in the DOS console of Windows? I don't know why the program opens and closes, perhaps it is a program which purpose was to open and close, so that its behaviour is correct. In other words, can you be a bit more specific.

  3. #3
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    If you are simply double-clicking it in Windows to run it, open up a DOS prompt, then run it from the command-line. Many command-line DOS programs will close immediately after being double-clicked...

  4. #4

  5. #5
    . Driveway's Avatar
    Join Date
    May 2002
    Posts
    469
    Start Run "Command" type full path of prog
    eg:
    C:\C++\Testing\test.exe

    That would run test.exe and keep the window open

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program closes as soon as it opens?
    By Kamarill in forum C++ Programming
    Replies: 10
    Last Post: 09-24-2008, 08:36 PM
  2. program not staing open
    By Unlockitall in forum C++ Programming
    Replies: 6
    Last Post: 07-11-2007, 08:39 AM
  3. Search-result-opening program
    By Verdagon in forum C++ Programming
    Replies: 3
    Last Post: 08-02-2005, 05:41 PM
  4. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  5. Locker Program
    By xlnk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2002, 11:41 AM