2009/4/18 Larry Alkoff <labradley@xxxxxxxxxxxxxx>: > In further experiments, I have found that config.sys and autoexec.bat in > ~/.dosemu/drive_c is not executed. It seems config.sys and autoexec.bat in > /etc/dosemu/freedos/ are being executed. Are these the files I should edit > to make dosemu run the way I want? I'm not sure where your .lnk files come from but: have a look at ~/.dosemu/boot.log after running dosemu which directory is used as drive C: a line like: device: /home/bart/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C: in that case the config.sys file comes from ~/.dosemu/drives/c which is normally set up as a symlink to ~/.dosemu/drive_c so that's indeed where you should be looking. However, in Debian/Ubuntu's DOSEMU (perhaps by accident) we have this: /home/bart/.dosemu/drives: total 0 lrwxrwxrwx 1 bart users 26 avr 18 16:14 c -> /home/bart/.dosemu/drive_c lrwxrwxrwx 1 bart users 23 avr 18 16:14 d -> /usr/lib/dosemu/drive_z /home/bart/.dosemu/drive_c: total 4 lrwxrwxrwx 1 bart users 32 avr 18 16:14 autoexec.bat -> /etc/dosemu/freedos/autoexec.bat lrwxrwxrwx 1 bart users 30 avr 18 16:14 config.sys -> /etc/dosemu/freedos/config.sys drwxrwxr-x 2 bart users 4096 avr 18 16:14 tmp So config.sys is really a symlink to the file in /etc/dosemu/freedos. But in dosemu installations from dosemu.org it's a writable file *copied* from the system file so users can edit it in DOSEMU. /home/bart/.dosemu/drive_c: total 12 -rw-r--r-- 1 bart users 556 mai 6 2007 autoexec.bat -rw-r--r-- 1 bart users 346 mai 6 2007 config.sys drwxrwxr-x 2 bart users 4096 avr 18 16:16 tmp So yes, either edit the /etc/dosemu/freedos files using a Linux editor as root (but these affect all users!) or change the symlinks to copies. Bart -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html