Download presentation
Presentation is loading. Please wait.
Published byRoss Hudson Modified over 9 years ago
1
How to Execute TSR Program
2
Install Borland C++ Download Borland C++ from LMS –http://vulms.vu.edu.pk/Courses/CS609/Downl oads/BORLANDC.rarhttp://vulms.vu.edu.pk/Courses/CS609/Downl oads/BORLANDC.rar –Install as per instructions given in the tutorial –http:// vulms.vu.edu.pk/Courses/CS609/Downl oads/How_to_Install_BolandC.ppthttp:// vulms.vu.edu.pk/Courses/CS609/Downl oads/How_to_Install_BolandC.ppt
3
Open Borland IDE Go to Bin folder inside BorlandC Locate BC.exe Double Click to open IDE Note: IDE stands for Integrated development environment and it is named as because Editor, Compilor, Debuger, Linker etc. are all integrated in one environment.
4
This is the simple program given in handouts at page#29. I have saved it as TSRCAPS.C
5
Click on Compile menu then compile.
6
This is compilation report and it shows that our program has no errors but one warning. We will ignore that warning for now. Press any key to close this report.
7
To generate.com file, open DOS Command prompt, Go to D: drive and inside BORLANDC\BIN directory as shown in this figure.
8
This is the Command to generate.com file.
9
There is a warning (again) but our TSRCAPS.com is generated. After command execution close this DOS window as you can see on its title bar that cmd.exe is not running purely.
10
This is our TSRCAPS.COM file located inside D:\BORLANDC\BIN
11
Open new instance of DOS Command prompt. Go to D: drive and inside BORLANDC\BIN directory as shown in this figure.
12
We have executed TSRCAPS.COM but our text is not appearing in Capital as it should be.
13
Again, open new instance of DOS Command prompt. Go to D: drive and inside BORLANDC\BIN directory as shown in this figure. Before executing TSRCAPS.com, just type edit to open edit program. This is done to do some internal parameter setting in order to get access to some internal resources.
14
Simply close edit program after opening it.
15
In order to execute, just type TSRCAPS.COM and press Enter.
16
Now you can see, I am unable to type in lower case…even by switching ON/OFF caps-lock key. You see cmd.exe (DOS) is running along with TSRCAPS.com
17
The End Send your feedback and queries cs609@vu.edu.pk cs609@vu.edu.pk
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.