PDA

View Full Version : I have 3 autoexec.bat files????


Beno
03-11-2001, 09:23 PM
Hi there,

I am trying install a g++ compiler for university work but it say to me that I should put this command in the autoexec file:

@SET PATH=%PATH%;C:\cygnus\cygwin~1\h-i586~1\bin;

the problem is that I have 3 autoexec.bat files so I am not sure which one to put it in.

the first autoexec.bat file that I have is in the actual C:

the second one is in c:\WINDOWS\COMMAND\EBD

the third is in c:\WINDOWS\OPTIONS\CAB

why do I have 3 when some people only have 1
are these used for backup

can I delete them???

And also if you have the time what does the command >>>>

@SET PATH=%PATH%;C:\cygnus\cygwin~1\h-i586~1\bin; do???

Thanks people

Beno




------------------
Have a nice day

mjc
03-11-2001, 10:28 PM
The one you need is the one in the root directory (C:\). The other two: \EBD is probably the Emergency Boot Disk and \Cabs is the original configuration that was loaded after installation.

SETPATH is a DOS command that basically tells the system where a program is located so it can be found and run without having to change to that directory.

------------------
mjc
To ME or NOT to ME....

Beno
03-12-2001, 01:19 AM
Hey mjc,

Will deleting the autoexec.bat files not in the c: do anything to my system??

------------------
Have a nice day

sleddog
03-12-2001, 05:09 AM
No reason to delete them -- they are having no affect on system operation. The one in EBD is probably a backup of the one in C:\. The one in options is the original, unmodified version. It's a good idea to have this one available in case you ever need to go back to the original.

------------------
sleddog
[sleddog.f2s.com] (http://www.sleddog.f2s.com)