Sunday, July 26, 2009

MS-DOS command line problems?

i have installed borland c++ comman line tools


but when i type bcc32.exe on commandline


i get the following error message:


"bcc32.exe is not recognised as an internal or external command,


operable program or batch file."








How can i solve this?

MS-DOS command line problems?
.





You have to give the path where the exe of borland C is present in Dos.





For eg. consider you have the exe file in the path "c:\BorlandC\bin", then you should give the below command in dos before executing bcc32.exe.





path=%path%;c:\BorlandC\bin





For further info, visit http://www.textpad.com/support/tips/borl...





**********


Vasu M


**********
Reply:Make sure you have your file bcc32.exe in correct path and you have set the path parameter with path=c:\Dirname;





Also check that you are using correct spelling.
Reply:go to that particular directory where u install your software and run command from that location.
Reply:When you start MS DOS it tosses you into "Documents and Settings" Are you in the right directory?





Not being recognized tells me you aren't.





Change directories to your Borland installation and then type "run bcc32.exe"
Reply:Which version of Windows/DOS are you running this program.





1)see if application is compatible with windows/dos version?





2)If you have installed it on Windows. Look for the path where Boroland is installed. By default installation path is c:\Program Files\.. To set the path in windows2000/XP Right click on My computers, select properties. Go-to Advanced. Click on Environment Variables.Under system variables select path , Edit and enter the exact path.





3) If you are running on DOS. edit c:\autoexec.bat


and type


PATH=c:\Dir(where borland is installed)
Reply:1. open NotePad program


2. type the complete path(along with the name of hard-disk ) of bcc32.exe in it


3. save the file as bcc32.cmd in C:\WINDOWS





now u can use command "bcc32" from anywher in windows, irrespective of the directory u r in











======================================...


I installed Borland myself and discovered a


BETTER SOLUTION !!!!!!!!!!!!





1. open notepad


2. type this:-


set path=c:\borland\bcc55\bin;%path%


(replace the 3 dots "..." with "h%" above)


3. save this file as "setenv.bat" in "c:\borland\bcc55\bin"


5. right-click anywhere in empty space on desktop


6. move mouse to "New"


7. click "Shortcut"


8. type this in the text-box :


%comspec% /k "c:\borland\bcc55\bin\setenv.bat"


(replace the 3 dots ' ... ' with ' at" ' )


9. hit "Next" button


10. type this in text-box : "BORLAND C++"


11. hit "Finish" button


12. double click on this shortcut and type any borland_C++ command, on the commandline. all will work!!!!


No comments:

Post a Comment