Help - Search - Members - Calendar
Full Version: setting %WinDir%
MSFN Forums > Microsoft Software Products - Discussion & Support > Windows 95/98/98SE/ME > Windows 9x Member Projects

   


Google Internet Forums Unattended CD/DVD Guide
tikbalang
i am missing %WinDir% environment variable. i have it defined properly in my msdos.sys file:

CODE
; MSDOS.SYS

[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C

[Options]
AutoScan=1
BootDelay=0
BootGUI=0
BootKeys=1
BootMulti=0
BootWarn=0
DBLSpace=0
DRVSpace=0
DisableLog=1
DoubleBuffer=1
LoadTop=1
Logo=1
SystemReg=0
WinVer=4.10.2222



when 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% ?
Tihiy
%windir% is not set until windows boots, and i believe it's proper behavior.
Use %winbootdir%.
tikbalang
thank you for that useful piece of info.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.