Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.9 KiB

  1. REM Windows MS-DOS Startup File
  2. REM
  3. REM CONFIG.SYS vs CONFIG.NT
  4. REM CONFIG.SYS is not used to initialize the MS-DOS environment.
  5. REM CONFIG.NT is used to initialize the MS-DOS environment unless a
  6. REM different startup file is specified in an application's PIF.
  7. REM
  8. REM ECHOCONFIG
  9. REM By default, no information is displayed when the MS-DOS environment
  10. REM is initialized. To display CONFIG.NT/AUTOEXEC.NT information, add
  11. REM the command echoconfig to CONFIG.NT or other startup file.
  12. REM
  13. REM NTCMDPROMPT
  14. REM When you return to the command prompt from a TSR or while running an
  15. REM MS-DOS-based application, Windows runs COMMAND.COM. This allows the
  16. REM TSR to remain active. To run CMD.EXE, the Windows command prompt,
  17. REM rather than COMMAND.COM, add the command ntcmdprompt to CONFIG.NT or
  18. REM other startup file.
  19. REM
  20. REM DOSONLY
  21. REM By default, you can start any type of application when running
  22. REM COMMAND.COM. If you start an application other than an MS-DOS-based
  23. REM application, any running TSR may be disrupted. To ensure that only
  24. REM MS-DOS-based applications can be started, add the command dosonly to
  25. REM CONFIG.NT or other startup file.
  26. REM
  27. REM EMM
  28. REM You can use EMM command line to configure EMM(Expanded Memory Manager).
  29. REM The syntax is:
  30. REM
  31. REM EMM = [A=AltRegSets] [B=BaseSegment] [RAM]
  32. REM
  33. REM AltRegSets
  34. REM specifies the total Alternative Mapping Register Sets you
  35. REM want the system to support. 1 <= AltRegSets <= 255. The
  36. REM default value is 8.
  37. REM BaseSegment
  38. REM specifies the starting segment address in the Dos conventional
  39. REM memory you want the system to allocate for EMM page frames.
  40. REM The value must be given in Hexdecimal.
  41. REM 0x1000 <= BaseSegment <= 0x4000. The value is rounded down to
  42. REM 16KB boundary. The default value is 0x4000
  43. REM RAM
  44. REM specifies that the system should only allocate 64Kb address
  45. REM space from the Upper Memory Block(UMB) area for EMM page frames
  46. REM and leave the rests(if available) to be used by DOS to support
  47. REM loadhigh and devicehigh commands. The system, by default, would
  48. REM allocate all possible and available UMB for page frames.
  49. REM
  50. REM The EMM size is determined by pif file(either the one associated
  51. REM with your application or _default.pif). If the size from PIF file
  52. REM is zero, EMM will be disabled and the EMM line will be ignored.
  53. REM
  54. EMM=RAM
  55. dos=high, umb
  56. device=%SystemRoot%\system32\himem.sys
  57. devicehigh=%SystemRoot%\system32\ntfont.sys
  58. devicehigh=%SystemRoot%\system32\font_win.sys
  59. devicehigh=%SystemRoot%\system32\$disp.sys /hs=%HardwareScroll%
  60. devicehigh=%SystemRoot%\system32\disp_win.sys
  61. devicehigh=%SystemRoot%\system32\kkcfunc.sys
  62. files=40
  63. device=%SystemRoot%\system32\MSIMEK.SYS /A1
  64. devicehigh=%SystemRoot%\system32\MSIMEI.SYS /D*%SystemRoot%\system32\MSIMER.DIC /D%SystemRoot%\system32\MSIME.DIC /C1 /N /A1