and then
set HOME=d:\homes\%USER%


a detail: please not "homes" or whatever. Use "Documents and settings". Yes, perhaps one day we'll have decent LFN support ;-)

(for non-LFN apps, use Docume~1 or whatever).

I'm thinking this should be more like Eric's implementation of GETARGS: create a batchfile and allow to redirect it, then call it and delete it.

passwd.com would output contents like this:
@echo off
set user=Bernd
set home=R:\users\BBlaauw


and then do this (autoexec.bat): passwd > output.bat call output.bat del output.bat CDD %home% echo Welcome to FreeDOS, %user%


a pity that not all known security measures work in FreeDOS. SWITCHES=/F/N works (fdconfig.sys/config.sys), but the command.com NUL trick does not

SHELL=C:\COMMAND.COM NUL /P

followed by a CTTY CON at end of autoexec.bat


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to