Archived

This topic is now archived and is closed to further replies.

Extreme Noob!! Autoexec.bat???

This topic is 4980 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone. I am new to programming but I really want to learn. I got C++ for dummies and while installing the GNU compiler, it says to add two strings to the autoexec.bat files. I am running XP and I cannot find this file, but I do find autoexec.nt. Is this the same thing?? How do I fix this??

Share this post


Link to post
Share on other sites
Start....Run...

Then type msconfig and press enter.

You should be able to edit the autoexec.bat file there, in one of the tabs. (msconfig is not available on 2000, but it is on XP.)

I am at school right now, and msconfig is disabled by the administrator, but that should work.

EDIT: I was wrong here, apparently autoexec.bat is not one of the tabs Sorry


daveandrews.org - a Christian Programmer's Weblog | Dusty Engine - a task engine using Irrlicht | Computer Guys Run the World
How to be a Programmer


[edited by - Ronin Magus on April 22, 2004 5:40:25 PM]

Share this post


Link to post
Share on other sites
Ronin M, I ran the msconfig but I guess I really have no idea what I am editing.
mrbastard, I did get the compiler to run (w/out editing autoexec yet) but when I wrote the standard "hello world" program, the program gave an error when I tried to compile and it said the file C:/....../ENV was not found. What is this?? Do these things all resort to the same problem??

[edited by - Javedus on April 22, 2004 2:40:52 PM]

Share this post


Link to post
Share on other sites
Javedus I wouldnt even bother if I were you. I know the compiler that you are talking about. I believe it is called "Rhide"?

I would just download the Dev C++ compiler / IDE. You will probably like it much better.

Share this post


Link to post
Share on other sites
tad pole is right dev c++ is much better, but if all you''re wanting is a command line compiler why not get an even better one? The borland command line compiler is free, I used it for a while its available at http://www.borland.com/products/downloads/download_cbuilder.html
Just click on the compiler link.

Share this post


Link to post
Share on other sites
quote:
Original post by alnite
quote:
Original post by philvaira
Why do beginners always have a thread with "?????" or "!!!!"
I think that''s because they are ultra confused and want to get things done as quickly as possible.


Bingo...

Been there done that.


Share this post


Link to post
Share on other sites
the GNU C compiler is a fantastic crossplatorm compiler created by the GNU Project and released under the GPL license (the most widely used open source/free software license). for the record, Dev-C++ uses the GNU C compiler internally
if you are just learning to program, using a front end to the compiler can be useful, and Dev-C++ is a good windows IDE
however, get your facts straight before talking bad about GCC

Share this post


Link to post
Share on other sites
No one is talking bad about the compiler. It is just no comparison to a full fledged IDE. I cant imagine that Rhide compiler being anything other than a pain in the neck if you were to ever make a large project with multiple files.

Share this post


Link to post
Share on other sites
i was refering to Ranger50000''s comment:
"tad pole is right dev c++ is much better, but if all you''re wanting is a command line compiler why not get an even better one? The borland command line compiler is free, I used it for a while its available at http://www.borland.com/products/downloads/download_cbuilder.html
Just click on the compiler link."

i should have made that more clear

Share this post


Link to post
Share on other sites
you can modify the enviromental varibles independently of AUTOEXEC.BAT in XP. go to start, control panels, system, the advanced tab, and the enviromental varibles button. XP usually doesn''t use AUTOEXEC.BAT anymore

Share this post


Link to post
Share on other sites