| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 55751 | 2005-03-18 21:40:00 | C++ Problem | Christopher (365) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 335524 | 2005-03-18 21:40:00 | Hi, I Bought a book called "C++ for Dummies " and it came with a disc. It says" Add the following commands to your AUTOEXEC.BAT files." What exactly does that mean, I have installed all Programs from Disc no Problem but this is bugging me. WinXP SP2 2.8GHZ 504MB Ram 120GB Disk/98GB Available |
Christopher (365) | ||
| 335525 | 2005-03-18 21:52:00 | You go to start/run and type sysedit. Autoexec.bat is one of the entries that come up. The only thing is, XP doesnt use autoexec.bat, or config.sys, like previous versions of Windows. |
Speedy Gonzales (78) | ||
| 335526 | 2005-03-18 21:59:00 | Thanks, neversaw that before. Is this a dangerous place to go like the registry.If so I'd rather not touch. | Christopher (365) | ||
| 335527 | 2005-03-18 22:04:00 | Nope, but what's in autoexec.bat (on other versions of Windows), usually run on bootup. In autoexec.bat there's nothing there by default if u use XP. So, no harm in trying / typing whatever command C++ needs, as it'll be the only entry in autoexec.bat. It most probably needs the command in order to run properly. BUT not too sure if XP will actually see it or execute whatever this command is, as XP doesnt actually use autoexec.bat for anything. |
Speedy Gonzales (78) | ||
| 335528 | 2005-03-18 22:08:00 | You can also find some good advice on where to put commands that would of normally gone into autoexec.bat on XP here (forums.pcworld.co.nz). | Jen (38) | ||
| 335529 | 2005-03-18 22:31:00 | The additions will be something like "PATH=%PATH%;C:\CPLUSPLUS\LIBS;C:\CLPUSPLUS\BIN" , right? (I'm just using invented arbitrary paths there) That's so the compiler can find all its bits and pieces and the linker can find the libraries. So, all you XPerts, how do you do PATH things in XP? There must be a way. (An ugly way to handle this would be to load everything into one directory ... everything in the same place as the C++ executables, so they'll be found.) |
Graham L (2) | ||
| 335530 | 2005-03-18 22:47:00 | I think the right place for this in XP is: Click on My Computer/right mouse/properties/advanced/environment variables . What command needs to be added anyway?? And whats the path for this file/command?? |
Speedy Gonzales (78) | ||
| 1 | |||||