home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / harddisk / masdir42.lzh / SDLPARMS.BAT < prev    next >
DOS Batch File  |  1989-02-04  |  6KB  |  131 lines

  1. ECHO OFF
  2. IF NOT .%3 == . GOTO PARMSOK
  3. ECHO Please start the setup program by running SDLSETUP.
  4. GOTO QUIT
  5. :PARMSOK
  6. SDL_ASK B
  7. ECHO * * *
  8. ECHO You may exit at any point by pressing Ctrl-C and answering Y to terminate.
  9. ECHO You may skip to the next section at any prompt by pressing the
  10. ECHO Escape key (Esc on most keyboards).  Note that all selections
  11. ECHO are made by "pressing" single keys.  These selections are NOT
  12. ECHO "entered" by pressing the Enter key after making the selection.
  13. ECHO * * *
  14. ECHO The questions are set up with the original defaults capitalized.
  15. ECHO If you select the capitalized choices the original defaults
  16. ECHO will be restored.  If the choices are not alphabetic, the first
  17. ECHO one shown is the original default.  Either caps or lower case
  18. ECHO letters are OK for your alphabetic selections.
  19. ECHO * * *
  20. ECHO If you do not want to change the operation of a selection, just
  21. ECHO press the Return key (sometimes called Enter).  This is indicated as
  22. ECHO choice (cr). Or press Esc to skip to the next section of questions.
  23. ECHO * * *
  24. ECHO The first section is for the toggles: Cls More Fre Hdr All
  25. SDL_ASK C "Press Return to continue, Esc to skip this section..." ~}
  26. IF ERRORLEVEL 126 GOTO NEXT
  27. ECHO * * *
  28. ECHO SDL has several options which can be "toggled" by command line
  29. ECHO switches.  A toggle has only two possibilities, and the switch (option)
  30. ECHO changes a toggle from its current setting to the opposite setting.
  31. ECHO For example:
  32. ECHO You may set the clear screen (Cls) default to Off or On.
  33. ECHO When it is ON it clears the screen before and after each display.
  34. ECHO When it is OFF the screen just scrolls and is a bit slower.
  35. Echo Whichever default you choose, the /C option will toggle it.
  36. ECHO * * *
  37. SDL_ASK C "Do you want Cls ON to be the default mode (Y,n,cr)? " YN~}
  38. IF ERRORLEVEL 126 GOTO NEXT
  39. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 ECHO E 22F 01>>SDLSETUP.TXT
  40. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 ECHO E 22F 00>>SDLSETUP.TXT
  41. ECHO * * *
  42. ECHO SDL Version 4 uses "More" instead of "Pause" to stop and show
  43. ECHO a menu at the end of each screen display.  This was changed from
  44. ECHO earlier versions to reserve the /P option for Printing (Prn).
  45. ECHO (Later you will be given the option to use /P for Pause if you prefer).
  46. ECHO You may set the More/Pause default to Off or On.
  47. Echo Whichever default you choose, the /M option will toggle it.
  48. ECHO * * *
  49. ECHO In order to protect the display of the support notices in the
  50. ECHO FREE evaluation version of SDL, we are unable to change
  51. ECHO the default for this feature.  It is fully supported in the
  52. ECHO registered version.  Please consider registering today.
  53. pause
  54. ECHO * * *
  55. ECHO SDL Version 4 has a new /F option for showing Free Space (Fre) on
  56. ECHO a disk.  On a hard disk SDL is much faster if it doesn't have to
  57. ECHO wait for DOS to get the Free Space.  On a floppy disk the amount
  58. ECHO of free space may be of interest, but you can display it by
  59. ECHO pressing the F key at the end of the display.  You may, however,
  60. ECHO have the Free Space displayed automatically as the default.
  61. ECHO Whichever you choose, the /F option will toggle it.
  62. ECHO * * *
  63. SDL_ASK C "Do you want Free Space ON to be the default? (y,N,cr)? " YN~}
  64. IF ERRORLEVEL 126 GOTO NEXT
  65. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 ECHO E 231 1>>SDLSETUP.TXT
  66. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 ECHO E 231 0>>SDLSETUP.TXT
  67. ECHO * * *
  68. ECHO You may set the Header (Hdr) default to On or Off.
  69. ECHO When OFF it suppresses the first two lines of titles to leave
  70. ECHO more space on the screen for file names.
  71. Echo Whichever you choose, the /H option will toggle it.
  72. ECHO (Whether you set it Off or On, you will be given a chance
  73. ECHO to enter your default titles later.)
  74. ECHO * * *
  75. ECHO In order to protect the display of the support notices in the
  76. ECHO FREE evaluation version of SDL, we are unable to change
  77. ECHO the default for this feature.  It is fully supported in the
  78. ECHO registered version.  Please consider registering today.
  79. pause
  80. ECHO * * *
  81. ECHO The /A for ALL option toggles the display of hidden files and directories.
  82. ECHO If you select ALL as the default, SDL will automatically include
  83. ECHO Hidden files and "<DIR>"s (subdirectories) in the directory display.
  84. Echo Whichever default you choose, the /A option will toggle it.
  85. ECHO * * *
  86. SDL_ASK C "Do you want All to be the default mode (Y,n,cr)? " YN~}
  87. IF ERRORLEVEL 126 GOTO NEXT
  88. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 ECHO E 233 00>>SDLSETUP.TXT
  89. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 ECHO E 233 16>>SDLSETUP.TXT
  90. :NEXT
  91. SDL_ASK B
  92. ECHO * * *
  93. ECHO The next section includes default SORTing and COLumns:
  94. ECHO * * *
  95. ECHO Reminder:
  96. ECHO If you do not want to change a selection just press return (cr),
  97. ECHO or press Esc to skip to the next section.
  98. ECHO * * *
  99. ECHO The default SORT order can be Name, eXtension, Date, or
  100. ECHO the Original dOs order which is unsorted.
  101. ECHO (Note that the letters above in CAPS are the option keys.)
  102. ECHO * * *
  103. SDL_ASK C "Press the letter for the SORT order you prefer (N,x,d,o,cr): " NXDO~}
  104. IF ERRORLEVEL 126 GOTO NEXT2
  105. IF ERRORLEVEL 88 IF NOT ERRORLEVEL 89 ECHO E 022E 58>>SDLSETUP.TXT
  106. IF ERRORLEVEL 79 IF NOT ERRORLEVEL 80 ECHO E 022E 4F>>SDLSETUP.TXT
  107. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 ECHO E 022E 4E>>SDLSETUP.TXT
  108. IF ERRORLEVEL 68 IF NOT ERRORLEVEL 69 ECHO E 022E 44>>SDLSETUP.TXT
  109. ECHO * * *
  110. ECHO The default number of COLumns of files can be 2, 4 or automatic.
  111. ECHO The original default is automatic which trys to show all the files on
  112. ECHO one screen if possible.  You can override the default with a
  113. ECHO / option on the command line, or by making a new selection from
  114. ECHO the menu at any pause.
  115. ECHO * * *
  116. SDL_ASK C "Press the number of COLs you prefer, or 0 for automatic (0,2,4,cr): " 024~}
  117. IF NOT ERRORLEVEL 125 ECHO E 022C %WHAT%>>SDLSETUP.TXT
  118. ECHO * * *
  119. ECHO The sorting of file names can be in ascending order or in reverse
  120. ECHO order.  This applies to the N,X,S, or D sort selection, and it
  121. ECHO is controlled by the /- toggle.  For example, any of /-, /S-,
  122. ECHO or /-S would reverse the sort order from the default.
  123. ECHO * * *
  124. SDL_ASK C "Press A for Ascending, - for descending (A,-,cr): " A-~}
  125. IF ERRORLEVEL 126 GOTO NEXT
  126. IF ERRORLEVEL 65 IF NOT ERRORLEVEL 66 ECHO E 23B 00>>SDLSETUP.TXT
  127. IF ERRORLEVEL 45 IF NOT ERRORLEVEL 46 ECHO E 23B 01>>SDLSETUP.TXT
  128. :NEXT2
  129. SDLFINIS %1 %2 %3
  130. :QUIT
  131.