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.

59 lines
2.7 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. dos=high, umb
  55. device=%SystemRoot%\system32\himem.sys
  56. devicehigh=%SystemRoot%\system32\font_win.sys
  57. device=%SystemRoot%\system32\hbios.sys /f:%SystemRoot%\system32\hfont.sys
  58. devicehigh=%SystemRoot%\system32\disp_win.sys
  59. files=40