Friday, May 27, 2011

How to start TurboC++ in the DOSBox automatically


You can save yourself some time by having DOSBox automatically mount your folders and start TurboC++:
For DOSBox versions older then 0.73 browse into program installation folder and open the dosbox.conf file in any text editor. For version 0.73 go to Start Menu and click on “Configuration” and then “Edit Configuration“. Then scroll down to the very end, and add the lines which you want to automatically execute when DOSBox starts.
Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73:
 
Scroll down to the very end, and add the lines:
mount d c:\TURBO
d:
cd tc
cd bin
tc.exe
 
then save that file commands(turbo c++) will be executed automatically when DOSBox starts!  
Please note:
Full screen: Alt and Enter
When you exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files you have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)
Don’t use shortcut keys to perform operations in TC because they might be a shortcut key for DOSBOX also 
Eg : Ctrl+F9 will exit DOSBOX rather running the code

No comments:

Post a Comment