Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello I checked the autoexec.bat file but I found nothing in that file why I dont know I tried to add a path to a directory to include c programing in that file and then save it but when I tried to get to the file .bat it came with a message bad file name I wonder why again and is there is way to include the c directory

Let's see if we can break this down a little.
Q: "Hello I checked the autoexec.bat file but I found nothing in that file why I dont know"
A: It is not neccessary to have anything in the autoexec.bat file.
Q: "I tried to add a path to a directory to include c programing in that file and then save it"
A: Please provide the complete path that you are wanting to add and save to the autoexec.bat file.
Q: "tried to get to the file .bat it came with a message bad file name I wonder why"
A: I would suggest providing the path info will answer this question too.
Q: "is there is way to include the c directory"
A: Yes.

HI I dont have the line with I mean the exact wording
But Can you please send me the line of path that is required
Thanks in advance

Hello
I just got what I have added to the autoexec.bat
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;PATH=%PATH%;C:\BORLANDC\BIN;

jjjjjjjjjjj....
It would help us help you better if only any of us could just understand WHAT you want to do !
Please be more precise and tell us what you are trying to implement with the autoexec.bat...-Kailas.

Try
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMANDSET PATH=%PATH%;C:\BORLANDC\BIN
If that is what you are looking for.

You probably want:
PATH=%PATH%;C:\BORLAND;C:\BIN;
instead of:
PATH=%PATH%;C:\BORLANDC\BIN;
Or just make one path statement:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BORLAND;C:\BIN
This assumes you have a c:\borland and a c:\bin directory.

It also assumes that you want to run something in DOS, because Windows doesn't need any of this.
I tend to agree with Kailas, nobody quite knows what you are trying to achieve, so it's difficult to supply constructive answers.
Derek

Hello & thanks for responses I intend first to find what happend to my auto.bat after that I want to add to it these lines in order to use c programing libreries which is located on that cd .. thanks knowing that I am using windows not dos

![]() |
Printer problems
|
CD Rom Not Being Detected
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |