Hi Doc, >>> I'm running the LiveCD (fdbasews.iso). >> Typically, C:\AUTOEXEC.BAT is what you want...
Not for the live CD ;-) > 1. The "root" is a:. > 2. There is an a:\fdconfig.sys. > 3. Inside the fdconfig.sys file, the SHELL command points to: > a:\freedos\fdauto.bat > 4. So I edited a:\freedos\fdauto.bat to include the directories I want in > the path. > > At this point I thought that everything was as I wanted. but then I > discovered that when I reboot, the a:\freedos\fdauto.bat goes back to its > initial state (i.e., it lost the changes I had made prior to the reboot). What you see is a bootable ramdisk simulation of a floppy. The floppy diskimage is on the CD-ROM and the combination of ISOLINUX and MEMDISK puts it in RAM and boots it. The virtual floppy then contains CD-ROM drivers. DOS cannot boot from CD-ROM itself so the drivers must be on something which DOS can boot from. Same idea as with Linux and initrd :-) That said, FreeDOS first tries to load fdconfig.sys and if that fails it tries config.sys, both on the drive from which you booted (in your case A:, which is the virtual floppy). The SHELL line in that file then tells where command.com is and the command.com of FreeDOS allows you to specify an alternate name for autoexec.bat at that point :-) If you want to put stuff on your harddisk or USB to use with your bootable DOS CD-ROM, then you could make some C:\go.bat file which you start manually after booting the CD-ROM. With tools like DEVLOAD, you can even load drivers that way... So it is not a big problem that you of course can not edit a CD. Regards, Eric PS: Of course you can edit the ISO file and burn a new CD-R or CD-RW with your modifications on it :-) I think the FreeDOS ISOs even contain some tools or batch scripts to make that possible even inside DOS. PPS: We also have a CD-ROM driver which mounts the ISO directly, so you could boot from some small USB device or floppy and put the ISO on C: or on USB to avoid having to actually burn the ISO on a CD at all. Of course it is a bit more advanced to set up this. > (In other words: where on the C: drive does the live CD look to > see if there's an autoexec.bat file that it needs to execute?) It does not look on C: - it is self-contained does not automatically interact with C: - may be Windows. But the manual C:\go.bat thing would work fine :-) ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user