|
Creating SUBSTed drives before any programs are loaded.
For the last few years (This goes as far back as Win95 on my 386 I had back then) I've taken the habit of installing all my programs on SUBSTed drives so that whenever I upgrade, change, repartition hard drives and the letters change, all I need to do is change AUTOEXEC.BAT and then, if D: became E:, programs all run the same since they are installed on U: (Which is E:\Misc - where all my programs are installed)
In WinXP, AUTOEXEC.BAT doesn't get run anymore. So I put all my SUBST commands in a batch file and then put a shortcut to it in Start -> Programs -> Startup. Problem is, as the computer is booting up, programs that are installed on the U: drive (For now, Pegasus Mail, ICQ, Webshots and Seti@Home but I installed WinXP yesterday so more will follow) sometimes (And this is erratic, each boot is different) one or more of these is trying to start before the U: drive is created which results in the program not starting.
I tried moving that BAT file into the registry Run command assuming that this gets run before the Startup folder but it made no difference. Then searching on WinXP sites I found that using GPEdit.msc I could set up a startup script to load that batch file. And it works, it looks cleaner too as I don't see a DOS window popping up. But that still doesn't fix the problem that some programs somehow attempt to start before the U: is created.
I also tried changing the Startup (And Registry Run commands) to point to the real path (Ex: E:\Misc\PMAIL\wpmail32.exe instead of U:\PMAIL\wpmail32.exe) but some programs don't like that (Pegasus Mail says the user doesn't exist or something)
Is there a way to have this batch file run before the user logs in (If a DOS window flashes as soon as the login prompt appears is fine by me)? I know in 95/98, some programs (Mainly Web App Servers and Anti-Virus programs) were starting up before the Username Password Dialog. Can I do that in XP?
__________________
I don't care how cold cold cold it is in your hole hole hole but you cannot have my sweater.
|