tikbalang Posted May 21, 2009 Share Posted May 21, 2009 i am missing %WinDir% environment variable. i have it defined properly in my msdos.sys file:; MSDOS.SYS[Paths]WinDir=C:\WINDOWSWinBootDir=C:\WINDOWSHostWinBootDrv=C[Options]AutoScan=1BootDelay=0BootGUI=0BootKeys=1BootMulti=0BootWarn=0DBLSpace=0DRVSpace=0DisableLog=1DoubleBuffer=1LoadTop=1Logo=1SystemReg=0WinVer=4.10.2222when i type SET at the prompt, i get "winbootdir=C:\WINDOWS" but the windir variable does not show up. i used to be able to unzip a copy of windows to my C:\ and then boot an msdos floppy to start windows. the difference now is i use a dos bootcd with floppy emulation to start DOS. i don't have a floppy drive anymore.help! how can i bring back %WinDir% ? Link to comment Share on other sites More sharing options...
Tihiy Posted May 21, 2009 Share Posted May 21, 2009 %windir% is not set until windows boots, and i believe it's proper behavior.Use %winbootdir%. Link to comment Share on other sites More sharing options...
tikbalang Posted May 21, 2009 Author Share Posted May 21, 2009 thank you for that useful piece of info. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now