home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / textinfo / dos50.arj / DOS50.DOC
Encoding:
Text File  |  1990-12-27  |  7.3 KB  |  180 lines

  1. I found this little bit of text on a BBS in the USofA ... I have no
  2. connection with Microsoft and am not a beta-tester of DOS5, so all this
  3. makes good reading (ho-hum the DR-DOS mob yawn, done it all before) for 
  4. us plain MS-DOS 3 or 4 boys.
  5.  
  6. ========================================================================
  7.  
  8. Changes/Additions: 
  9.  
  10. 1.  DOS can now load itself into the  first 64K of Extended
  11.     memory if you have it.  You must have the line, "DOS=HIGH" in
  12.     your config.sys and you must have at least 64K of extended memory
  13.     available.  This will only work on AT machines since 8088/8086
  14.     processors can  only address up to 1 Megabyte of memory, and
  15.     Extended Memory begins at 1  Meg.  Loading DOS high will free up
  16.     quite a bit of valuable conventional memory.
  17.  
  18. 2.  The QuickBasic interpreter is included along with GWBasic. 
  19.  
  20. 3.  The Shell program (DOSSHELL) has been completely changed.  It
  21.     now resembles the "File Manager" Program that comes with Windows
  22.     or OS/2.  DOSSHELL can be run in either graphics or text mode,
  23.     in color or black and white.  The  F1 key brings up online help.
  24.  
  25. 4.  If the environment variable "TEMP" is set, DOS will use the
  26.     directory set in "TEMP" to write temporary files for piping
  27.     operations.  If there is no "TEMP" directory set, the current
  28.     directory is used.
  29.  
  30. 5.  If the environment variable "DIRCMD" is set, DOS uses it for 
  31.     all "DIR" commands.  For example, if "DIRCMD=/W", when you type
  32.     "DIR", DOS would act like you typed "DIR/W" (Wide display).
  33.  
  34. 6.  A short help screen is availa ble for all DOS commands by
  35.     adding a "/?" after the command, for example, "D IR /?" would
  36.     give you a help screen for the DIR command.
  37.  
  38. 7.  There is a utility called "DOSKEY" that is basically a
  39.     command line editor that lets you backup through your previous
  40.     DOS commands.  Here is the help screen for DOSKEY:
  41.  
  42. DOSKEY [/reinstall] [/bufsize=] [/dmacs] [/dhist] [macro=text] 
  43.  
  44.         /reinstall  Installs a new copy of doskey. 
  45.         /bufsize=   Specifies the size of  the command buffer. 
  46.         /dmacs      Displays all macros and lets you redirect
  47.                     them to a file. 
  48.         /dhist      Displays all command lines stored in memory .
  49.  
  50.  
  51. 8.  A program called UNFORMAT is included.  It restores a hard
  52.     drive to i ts condition prior to the last FORMAT command.
  53.  
  54. 9.  The DIR command now reports  how many bytes the files listed 
  55.     total up to.  Here is an example DIR command :
  56.  
  57.        E:\>dir 
  58.  
  59.         Volume in drive E is whatever 
  60.         Directory of E: \ 
  61.  
  62.        WIERDOS       <DIR>     06-28-90  12:42a 
  63.        DUDE     ZIP    724409  07-26-90  10:14p 
  64.        TMP           <DIR>     07-28-90   6:32p 
  65.        IHATE-U       <DIR>     06-28-90  12:42a 
  66.        MASM     EXE    103175  07-31-87  12:00a 
  67.        STSCFG   CFG      2339  04-30-90   1:49a 
  68.        SD       INI      2497  07-13-90   2:52a 
  69.        FRECOVER DAT     50688  07-14-90   1:25a 
  70.                8 File(s)    3883108 bytes 
  71.                            21868544 bytes free 
  72.  
  73.        E: \> 
  74.  
  75. 10.  The FORMAT command now supports 2.88 Meg 3.5" diskettes. 
  76.  
  77.  
  78. Here are the  help screens for a few of the DOS commands: 
  79.  
  80.  
  81. DIR [pathname] [/p] [/w] [/a:attributes] [/o:sortorder] [/s] [/b] 
  82.  
  83.    /p  Pause after each screen page of display . 
  84.    /w  List Files in columns with up to five filenames on each    
  85.        line. 
  86.    /a:attributes  Displays only files with the attributes you     
  87.                   specify. 
  88.    /o:sortorder   Displays files sorted in the specified order. 
  89.    /s  Displays files in the s pecified directory and all         
  90.        subdirectories. 
  91.    /b  Lists filenames, one per line , without any file           
  92.        information. 
  93.  
  94.  
  95. FORMAT drive: [/1] [/4] [/8] [/n:sectors] [/t:tracks] [/f:size] 
  96.               [/ b] [/s] [/u] [/v[:label]] 
  97.  
  98.    /1  Formats a single side of a floppy disk. 
  99.    /4  Forces a high-capacity floppy drive to format a 360K
  100.        Floppy-disk. 
  101.    /8  Formats eight sectors per track.
  102.    /n  Specifies the number of sectors per track. 
  103.    /t  Specifies the number of tracks on the disk. 
  104.    /f  Specifies the size of the floppy disk to format.
  105.    /b  Formats the disk, leaving space to copy an  operating      
  106.        system. 
  107.    /s  Copies the operating system files. 
  108.    /u  Specifies an unconditional format for a hard disk.
  109.    /v  Specifies the volume label. 
  110.  
  111.  
  112. COPY [pathname1] [pathname2] [/v] [/a] [/b] 
  113.  
  114.    /v Verifies sectors written on the  target disk. 
  115.    /a Copies Ascii files. 
  116.    /b Copies binary files. 
  117.   
  118. BACKUP source destination [/s] [/m] [/a] [/f:size] [/d:date]      
  119.        [/t:time] [/L:pathname]
  120.  
  121.    /s Backs up subdirectories 
  122.    /m Backs up only those files that have changed since the last  
  123.       backup 
  124.    /a Adds backed-up files to an existing backup disk 
  125.    /d:date     Backs up only files modified since the specified date
  126.    /t:time     Backs up only files modified since the specified time
  127.    /L:pathname Creates a log entry to record the backup
  128.                operation
  129.    /f:size     Formats the target backup disk
  130.  
  131.  
  132. RESTORE drive1: [drive2] [pathname] [/s] [/p] [/b:date] 
  133.         [/a:date] [/e :time] [/l:time] [/m] [/n] 
  134.  
  135.    /s  Restores all subdirectories. 
  136.    /p  Prompts  before restoring read-only files or filed         
  137.        modified since the backup. 
  138.    /b  Restores only those files last modified on or before date. 
  139.    /a  Restores  only those files last modified on or after date. 
  140.    /e  Restores only those files last modified
  141.    /n  Restores only those files that no longer exist on the
  142.        target disk 
  143.  
  144.  
  145. MODE - Configure a device. 
  146.  
  147. Device Status:     MODE [device] [/sta] 
  148. Printer port:      MODE LPTn[cols=c] [lines=l] [retry=r]
  149. Serial port:       MODE COMm baud=b [data=d] [stop=s] [parity=p]
  150.                         [retry=r] 
  151. Display mode:      MODE con:[cols=m] [lines=n] 
  152. Typematic rate:    MODE con [:] [rate=r] [delay=d] 
  153. Prepare codepage:  MODE device cp prepare=((yyy)                  
  154.                         [drive:][path]filename 
  155. Select codepage:   MODE device cp select=yyy 
  156. Redirect printing: MODE LPTn[:]=COMm[:]
  157.  
  158.  
  159. XCOPY pathname1 [pathname2] [/a] [/d:date] [/e] [ /m] [/p] [/s]   
  160.       [/v] [/w] 
  161.    /a  Copy files with archive bit, but don't modify archive bit. 
  162.    /d  Copies source files modified on or after specified date. 
  163.    /e  Copies any subdirectories, even if they are empty. 
  164.    /m  Copy files with archive bit set and clear the archive bit. 
  165.    /p  Prompts before creating a new  file in the target          
  166.        directory. 
  167.    /s  Copy directories and subdirectories, unless empty.
  168.    /v  Verify each file as it is written to the target. 
  169.    /w  Causes  xcopy to wait before it starts copying files. 
  170.   
  171.  
  172.      There is also a neat little program included with the beta 
  173. version of DOS  5.0 called "Microsoft Infer".  I don't know if
  174. Infer will be included with the release version of DOS.  Infer
  175. tells lots of useful information about your system , like:
  176. Operating System Version, Machine type, Environment, Processor
  177. type, Memory info, Video Adapter info, Serial/Parallel port
  178. info, disk drive info, and much more.  Infer includes a ROM BIOS
  179. browser, memory browser, and several other useful functions.
  180.