Currently Seeking Auto Execs
- Posted by Travis Beaty <travisbeaty at arn.net> Jun 26, 2001
- 509 views
Howdy y'all! I'm proud to announce that the installer is now capable of installing the Euphoria and optional libraries to the user's computer, and can successful= ly handle occasions where a previous copy of Euphoria exists at that location= . I've now arrived at the part of the show where, with the user's permission= , the user's autoexec file is altered to add the EUDIR environment variable, as = well as adding euphoria to PATH. Now then, here's my next problem: locating the autoexec file. Perhaps wi= th a bit of na=EFvet=E9, I'm assuming that the autoexec file will be in the roo= t directory of the user's boot drive. So, wonderful ... which one is the bo= ot drive? The reason I ask such a silly question is that I've never had a computer w= ith more than one hard drive. That being the case, the user *could* install Euphoria on a secondary drive ... the one that *doesn't* have the autoexec= .bat file. The only way I could figure to do this programmatically and without "askin= g" the user is to search the root directory of every drive on the user's syst= em for "autoexec.bat." But ... is it possible for the user to have _two_ aut= oexec files ... On my computer, at start up, I can load either Windows or Linux. I'm worr= ied about a situation in which another user could load Windows NT or Windows 9= 8, or some such confusing setup. In that case, it is conceivable that there wou= ld be two autoexec.bat files, if NT booted using drive C: and 98 booted using dr= ive D: for instance. In short, folks, I do believe that I'm confusing the hell out of myself. = Could someone please help before my head explodes. Thank you. Travis Beaty Claude, Texas.