Op 22-3-2012 1:40, Pete Batard schreef: > I guess if someone wants to fiddle with the primary drive assignation, > they're going to have to do it before drivers and executable are being > loaded from that partition, so probably through kernel/sys.com.
Drivers are loaded in fdconfig.sys and can use a path designation without driveletter being mentioned (DEVICE=\DOS\SOMEDRVR.SYS). Perhaps only the SHELL line gets you in trouble, as shells want to set COMSPEC variable and thus need a location specified. Batchfile stuff is relatively easy as well: SET PATH=%_CWD% DRIVER.EXE /OPTIONS however MS-COMMAND.COM has no CWD variable so there's a challenge, might be able to resolve it by evaluating COMSPEC ( for %%x in ( A..Z ) do if "%comspec%"== "%%x:\COMMAND.COM" SET PATH=%%x: ) Goodluck fiddling :) ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
