Thread: Exe File Run

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    9
    Rep Power
    0

    Exe File Run


    ho to run C Exe File in window 7 ihavenot coding only exe file
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    104
    Rep Power
    3
    Originally Posted by Mansoor54
    ho to run C Exe File in window 7 ihavenot coding only exe file
    left click twice. the file will run. or right click and select "open", it will run.
  4. #3
  5. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,255
    Rep Power
    2222
    When you follow the instructions in Message #2 and you had not written the program to at some point wait for you to input something, then the program will appear to open for a fraction of a second and then close or that might happen so fast you don't even notice it opening.

    In that case, then open the "cmd prompt" console by running cmd. Then change the directory to where the exe file is -- use the CD command and keep in mind that if a directory name has spaces in it, then you will need to place it in double quotes. When you are in the exe file's directory, then type its name (no need to include the .exe) and press Enter and it will run.

    Or if you insist on launching it from a GUI app, then just before the end if main you should add an input command that requires the user to input something before the program can close.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    9
    Rep Power
    0
    unsported 16-bit eror if a 64-bit windows compitable version available
    in cmd command
    cd\
    cd tc\bin
    file name is (cel)
  8. #5
  9. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,255
    Rep Power
    2222
    You cannot run a 16-bit app in 64-bit Windows. 32-bit app it will support, but not a 16-bit.

    Question: Why would you even want to think of running a dinosaur like Turbo C? There a many much newer compilers available for free.

    If your instructor requires you to use Turbo C, then politely ask him to move out of Jurassic Park.


    Possible solution: Install a virtual machine such as VMWare Player and install a 32-bit system in it. That would run a 16-bit app.

IMN logo majestic logo threadwatch logo seochat tools logo