MSFN Forum: setting %WinDir% - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

setting %WinDir% Rate Topic: -----

#1 User is offline   tikbalang 

  • Group: Members
  • Posts: 3
  • Joined: 06-December 07

Posted 21 May 2009 - 03:10 AM

i am missing %WinDir% environment variable. i have it defined properly in my msdos.sys file:

; 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% ?


#2 User is offline   Tihiy 

  • god of the ancient world
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,285
  • Joined: 19-November 04

  Posted 21 May 2009 - 03:13 AM

%windir% is not set until windows boots, and i believe it's proper behavior.
Use %winbootdir%.

#3 User is offline   tikbalang 

  • Group: Members
  • Posts: 3
  • Joined: 06-December 07

Posted 21 May 2009 - 07:25 AM

thank you for that useful piece of info.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy