How to install Turbo C in Windows 7 using Dosbox

Mr Coder August 16, 2012 10

Most of my friends told me that Turbo C doesn’t work in Windows 7 64-bit as it isn’t compatible with 16-bit programs but it work’s with 32-bit but there is issue in 32 bit also, you cannot open turbo C in full mode. So friends today i will explain you how to install turbo C in windows 7 using Dosbox to make it work on 64 bit OS. Dosbox is basically a DOS Emulator which creates the virtual environment to support the Turbo C.

How to install turbo C compiler on windows 7 using DOSBOX

How to install turbo C compiler in windows 7 using DOSBOX

The below steps are same for both Windows 7 32 bit OS and Windows 64 bit OS. Just keep in mind that you need to download correct DOSBOX version according to your Windows 7 OS.

How to install Turbo C in Windows 7 using Dosbox :

Step 1: First of all you need to download and install Turbo C on Computer. Please refer my below article to achieve the same. If you have already has turbo C installed then you can skip step 1.

How to Install Turbo C Compiler
Step 2: Download and Install DOSBOX for 64 bit OS : DOWNLOAD FROM HERE
DosBox for those who are using  32 bit OS : DOWNLOAD FROM HERE

Step 3: Installing and Configuring DOSBOX on Windows 7.
Open the DOSBOX

How to install turbo C compiler in windows 7 using Dosbox

Open the Dosbox

Now Type below 2 commands in command prompt like shown below:
SET ULTRASND=240,3,3,5,5
SET ULTRADIR=C:\ULTRASND

How to install turbo C compiler in windows 7 using Dosbox

Type Ultrasnd and UltraDir Commands

Now we are going to Mount the current working directory of turbo c on Virtual Drive O.
For my OS it is   C:\TC\BIN

How to install turbo C compiler in windows 7 using Dosbox

Mount the Path

Next step is to Navigate to Virtual Drive O.

How to install turbo C compiler in windows 7 using Dosbox

Navigate to O drive

Now C:\TC\BIN is mounted in to a Virtual Drive O so just give command to open your Turbo C Compiler.

How to install turbo C compiler in windows 7 using Dosbox

Give command to open TC from O drive

And here we succeed to open Turbo C on Windows 7 64 bit.

How to install turbo C compiler in windows 7 using Dosbox

Successfully Installed Dosbox on Windows 7

By the same way above you can use DosBox to open Turbo C in any windows version.  Now you can open Turbo C in full mode in Windows 7 by just pressing ALT + ENTER key from your keyboard.

Also you can take print screen to capture the Turbo C screens with Ease in full mode.

I hope you all have enjoyed the article. If you face any issues with above process, feel free to contact us in form of comments. Thanks for reading!

10 Comments »

  1. Laverna Sandow November 6, 2012 at 5:03 pm - Reply

    I am certain that everything you have stated will definitely pierce the ears of your readers and make them think more deeply about this

  2. Pradeep Jha January 12, 2013 at 9:50 am - Reply

    I
    tried everything that you stated , but i got an error saying that we can not open #include..Kindly help me.

  3. sairajesh uppula January 24, 2013 at 9:40 am - Reply

    c program to conduct a quiz true or false

  4. nilanjana karmakar February 5, 2013 at 12:40 pm - Reply

    i also tried that you have stated in this article but i got a problem that there is an error saying that we can not open the file #include….please help me

  5. Swetha February 14, 2013 at 1:33 am - Reply

    i was successful in getting it installed …but the next moment i closed the window and tried to reopen it ,i was asked to do the same things all over again …. does it require to do all the above mentioned steps every time we open it?????

  6. digambar kumar February 14, 2013 at 11:19 am - Reply

    I LLEGLE BATA RHA HAI PROGRAMME

  7. Jake March 20, 2013 at 6:03 pm - Reply

    i have same problem..I’d installed dosbox but it wasn’t open the include files…from tc\lib or tc\include
    please suggest solution quickly as possible…

  8. neeraja July 13, 2013 at 6:50 am - Reply

    did anyone get the solution for opening #include ..???

  9. Yasaswi July 21, 2013 at 1:56 am - Reply

    That is saying invalid directory!!!!

  10. harit August 9, 2013 at 5:13 am - Reply

    i hav executed programs in it , but as i run 1 program and come again to run another program i hav to close and reopen dosbox otherwise every thing become idle

Leave A Response »