You may wish to run Letter Assigner [the native DOS executable] from your config.sys [which has to be on C:\ root] with a command like this:
INSTALL=C:\LETASSIG\LETASSIG.EXE
Most executables/TSRs/devices/memory residents that are meant to run either from autoexec.bat or from native DOS prompt can be run from within config.sys using the INSTALL / INSTALLHIGH commands.
All MS-DOS 6/7/8 editions have install(high) built-in.
INSTALLHIGH is only used if upper memory is present at boot time by loading an UMA/UMB memory manager [UMBPCI.SYS, EMM386.EXE, QEMM386.SYS, RM386.EXE, 386MAX.SYS etc], and if you want to load "high" [in UMA] a device/driver/TSR/memory resident program.
MSCDEX, SMARTDRV, MOUSE*.*, DOSKEY etc can be loaded this way from config.sys, for example.
Then you can load up your autoexec.bat from the drive/partition created/reassigned by LetAssig.
This is only a suggestion, I have never used Letter Assigner.
Another solution that doesn't involve LetAssig [but is only a workaround] would be to create a "fake" autoexec.bat in C:\ root, with these 2 lines:
@echo off
call d:\bats\autoexec.bat
which in turn will run your "real" autoexec.bat from D:\BATS , or wherever else you want to place it into.
Your d:\bats\autoexec.bat can also be named to anything else, if you like, but don't change its file extension.
______________________________
glaurung:
Good point.
M$ Windows [any edition/version, including all 3.xx, 9x + NTx based OSes] cannot install in a LFN directory.
Windows install folder must abide by MS-DOS SFNs [Short File Names] convention: 8.3 characters, which cannot be certain symbols, like:
/ \ ? > < | * " :
______________________________
IMO:
Autoexec.bat and config.sys names and extensions [but not their locations] can be changed by hexing IO.SYS [which has to reside inside C:\ root] using any decent hex editor.
And I believe COMMAND.COM name [extension must be COM or EXE] can be changed this way too.
HTH
This post has been edited by MDGx: 19 October 2006 - 02:28 PM