I'm trying to install a small program into UBCD, installed on a USB drive, so that it can write back to it's directory. I've put the program in the DOSAPPS directory, and I think that part of it is OK (I'm not sure, I've never gone this far in customizing UBCD).
The second problem is...
What exactly is your first problem??? q-:
...that this program needs a VERY lean DOS environment, with no drivers, no Config.sys, and nothing in the Autoexec.bat.
The image is designed to run so as to allow the user to customise the set-up; if you don't want to install a module, simply select cancel when it prompts you to install (e.g. cdrom, udma, lfn etc). Alternatively, select "Clean boot" and run the program from the command prompt.
I tried making my own lean boot image, and run the program using it, but it's not working. I put a start.bat in the DOSAPPS\myprogram directory. Does the lean.img need anything special in it to run the program?
What's the program? Furthermore, what's in your startup.bat file?