quick menu
campus college college_front

Run turbo c or any dos based program on windows 7



Windows 7 32 bit or 64 bit?
having trouble to run c or any dos based program???
don’t worry just follow my few step to solve your problem...

(I am taking example of tc.exe [turbo c])
1. For who have windows 7/vista with 32bit (x86)
get the full turbo c and paste it in c:(root directory)
now goto c => tc => bin => find tc.exe and double click on tc.exe

now a popup message occure that say’s you that "can’t run dos program.." there was two option I => close II=> ignore, click on ignore now your c run but in small windows and still you can get output of any program so right click on tc’s fram i mean where the program name show and close, minimize button..
see this image... ( http://i977.photobucket.com/albums/ae258/tejasrana95/test/1.png  http://i977.photobucket.com/albums/ae258/tejasrana95/test/2.png )
now click on defaults and goto font tab and select lusida console and font size 20 and apply and done now you can easly run turbo c without having problem but when you start turbo c first time the popup windows still show warning but ignore it always..

2. For who have windows 7/vista with 64bit(x64)
First download dos box from this link it’s free and open source (http://sourceforge.net/projects/dosbox/files/dosbox/0.74/DOSBox0.74-win32-installer.exe/download)
Now get full tc and paste it c: (root directory)
now again you have 2 options:

i.) start dosbox from desktop or all program..
a dos windows show now type :-> mount c c: (Press enter)
c: (Press enter)
cd tc (Press enter)
cd bin (Press enter)
tc.exe (Press enter)

by this command line you can start tc as normal it run and hit alt+enter for fullscreen. but you have to put this command again every time when you wanna start c... so recommend you to go with ii option...

ii.) goto start => all program => Dosbox -0.74 => click on option folder and click on Dosbox 0.74 options
Now notepad open  with dosbox confugration line..(becareful don’t change anything if you didn’t have knowledge about that..)

(change only what i say you to change...)
Find this things =>

fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-0.74.map
usescancodes=true

change it from this =>

fullscreen=true
fulldouble=true
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-0.74.map
usescancodes=true

now by this code you can run turbo directly on full screen...
now goto last of dosbox configuration in notepad
and paste it =>

mount c c:
c:
cd tc
cd bin
tc.exe

(by this you can run turbo c without put any command line in dosbox..)
again there is a problem when you hit ctl+F9 key for turbo c output then dosbox will close ’cause this is the shortcut key of kill dosbox window..
so there is also have alternetive of it.
when you start dosbox click ctrl+F1 now a virtual keybord show in dos windows click on shutdown block watch in this images (http://i977.photobucket.com/albums/ae258/tejasrana95/test/dosbox.png) then click on del and finally click on save and then exit now you can run your c program by hittnig ctrl+F9..

Note - when you close your turbo c then type this command for exit from dosbox => exit (press enter)

By this tutorial you can run turbo c or any dos based program on windows 7 / vista / 32 bit / 64 bit os

---
Cheers
Enjoy
(Tejas Rana)






Viewed 2743 timesUpdated on 2011-11-20 14:43:20
Updated by Tejas Kumar Rana




    You are not login:
    • You cannot send mesage to other users.
    • You cannot chat with other users.
    • You cannot post comment.
    • You cannot edit your profile.
    • You cannot Find friend/user.
    • You cannot view your friend/user's profile.

    Click here to sign-in or Sign-up.

Share This Site or Like





Please click on +1 for improve this site rating on google.

Clock

Latest News

Sorry No News Available




User Comment

Baddo (baddodo) :
ajdjadajdj


umesh kumar khatri :
is collage ka naam world ke top ten m lane ko me hmesha koshish krta rhunga. thanks to all users.