home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / dos_util / pcl60a.zip / PART2.EXE / DOS5.TUT < prev    next >
Text File  |  1993-07-13  |  26KB  |  543 lines

  1.       
  2.         ---------------------------------------------------------------- 
  3.  
  4.                                 DOS VERSION 5.0
  5.  
  6.        ---------------------------------------------------------------- 
  7.  
  8.        In 1991 Microsoft made DOS more powerful, smarter, sleeker and 
  9.        vastly more helpful. A variety of major and minor changes to this
  10.        classic operating system provide something useful for everyone. 
  11.        While most computer owners can take advantage of this cornucopia 
  12.        of new features, a few may not need to upgrade to DOS 5.0. Let's 
  13.        examine the "new and improved" DOS. 
  14.        
  15.        Five major changes were made with DOS version 5.0:
  16.        
  17.        1) An on-line help system was added so that users could access 
  18.        brief "help screens" for reminders about specific DOS command 
  19.        syntax and usage. The DOS manual was also substantially improved 
  20.        and rewritten. 
  21.        
  22.        2) By using the extended or "high memory" system of computers 
  23.        equipped with 80286, 80386 or 80486 CPU processors and additional 
  24.        RAM memory beyond the conventional 640K, DOS 5.0 can now load 
  25.        memory resident programs, device drivers and even DOS itself 
  26.        into extended memory thus leaving more room in conventional 
  27.        memory for application software - a potent plus for memory 
  28.        starved software. Up to 622K of memory can be made available to 
  29.        conventional memory. Microsoft Windows 3.0 applications and 
  30.        large DOS applications such as spreadsheets and database 
  31.        programs accelerate with access to this additional memory. 
  32.        
  33.        3) A new extended memory manager allows 80386 or 80486 computers 
  34.        to turn extended memory into LIM (Lotus-Intel-Microsoft) 
  35.        expanded memory. This provides popular programs such as Lotus 
  36.        123 and others with the capability to automatically use memory 
  37.        more effectively and releases additional conventional memory for 
  38.        data and application software. 
  39.        
  40.        4) New commands such as UNDELETE, MIRROR and UNFORMAT were added 
  41.        to allow for the recovery of accidentally deleted files or 
  42.        subdirectories. A new DOSKEY command was also added to allow for 
  43.        convenient recall of previous DOS command keystrokes and also 
  44.        provides keyboard macro commands. 
  45.  
  46.        5) A new graphical interface or shell and full screen "mini-word 
  47.        processor" text editor was made available. Users can work from 
  48.        the DOS prompt command line or the new shell and text editor. 
  49.        The GWBASIC language system, present in most versions of DOS, 
  50.        was provided with a fresh new interface and editor. The setup or 
  51.        installation routine for DOS 5.0 cleverly allows users to backup 
  52.        earlier DOS files - just in case they need to return to a 
  53.        previous DOS version - and smoothly glides through installation 
  54.        without the need to completely reformat a hard drive from 
  55.        scratch, an annoying hallmark of earlier DOS versions. 
  56.  
  57.        Beyond these major features, smaller items provide icing on a 
  58.        useful software cake:
  59.  
  60.        A new SETVER command allows the user to change the apparent DOS 
  61.        version number so that older, finicky programs which demand a 
  62.        unique version of DOS run properly.
  63.  
  64.        The DOS directory or DIR command has been updated with 
  65.        additional switches which let users sort directory listings in a 
  66.        variety of ways without using the cumbersome SORT command. 
  67.  
  68.        Hard drive users also benefit from DOS 5.0 modifications. DOS 
  69.        5.0 can now create hard drive data partitions of up to 2 
  70.        gigabytes and can now function with more than two physical 
  71.        drives at a time. In a series of hard drives, now only one drive 
  72.        is required to contain a DOS partition for the entire system to 
  73.        work - a substantial savings in hard disk space. 
  74.  
  75.        However, not all computer owners need to upgrade to DOS 5.0. 
  76.        
  77.        Owners of older 8088 and 8086 CPU equipped machines - XT class 
  78.        computers - may find the urge to upgrade to DOS 5.0 to be less 
  79.        than overwhelming since the advanced memory management features 
  80.        are unusable on a machine having only 640K of RAM memory. 
  81.        However the new UNDELETE, UNFORMAT and MIRROR commands, refined 
  82.        editor, DOSKEY utility, improved Qbasic programming language 
  83.        interface and on-line help may be reason and convenience enough 
  84.        to upgrade. 
  85.  
  86.        Owners of 80286, 80386 or 80486 CPU equipped machines will 
  87.        probably wish to upgrade to DOS 5.0 to take advantage of the 
  88.        additional conventional memory which can be released for 
  89.        application software as well as the relocation of device drivers 
  90.        into high memory. 
  91.  
  92.        New or modified DOS 5.0 commands include:
  93.  
  94.        -- DOSKEY -- (External) 
  95.  
  96.        This DOS utility allows you to recall and edit DOS commands you 
  97.        previously entered at the DOS prompt. Unlike pressing the F3 key 
  98.        which recalls only the last command typed, DOSKEY gives you 
  99.        access to all previous commands typed and allows you to edit 
  100.        or change them. Keyboard macros or series of keystroke sequences 
  101.        may also be recorded and edited. DOSKEY is a memory resident TSR 
  102.        program (terminate and stay resident) which uses about 3K of 
  103.        conventional memory. 
  104.  
  105.        Note that in the syntax examples which follow, you may use 
  106.        one or several switches following a command if you wish: 
  107.  
  108.        (Example)   DOSKEY /REINSTALL /HISTORY /OVERSTRIKE
  109.  
  110.        In the above example three parameter switches follow the 
  111.        command. 
  112.  
  113.        Note in DOS syntax examples which follow that the bracket 
  114.        symbols [ and ] are NOT typed at the DOS prompt, but only serve 
  115.        to indicate an OPTIONAL parameter or switch.
  116.        
  117.        If you see a | symbol within a syntax example, it means run 
  118.        EITHER the command prior to the | OR run the command following 
  119.        the |, but NOT both commands at the same time. Do not confuse 
  120.        the | symbol given in a syntax example with the "piping symbol" 
  121.        which is a DOS redirection method sometimes used in DOS 
  122.        commands. For example, the syntax entry below provides for 
  123.        EITHER the /INSERT switch OR the /OVERSTRIKE switch. 
  124.  
  125.        DOSKEY syntax is:
  126.        
  127.        DOSKEY [/REINSTALL] [/BUFSIZE=size] [/MACROS] [/HISTORY] 
  128.               [/INSERT|/OVERSTRIKE] [macro=[text]]
  129.  
  130.        Parameters:
  131.  
  132.        /REINSTALL        Installs new copy of DOSKEY
  133.        /BUFSIZE=size     Set buffer size to "size" bytes (default=512)
  134.        /MACROS           Display current macros
  135.        /HISTORY          Display command history 
  136.        /INSERT           When editing, default to insert mode
  137.        /OVERSTRIKE       When editing, default to overstrike mode
  138.        macro             Name of macro to load or run
  139.        text              Macro definition
  140.  
  141.        Note that macros override or take precedence over internal 
  142.        commands such as DIR and CLS. Using this feature you can 
  143.        define new, personal DOS commands. 
  144.  
  145.        (Example)     DOSKEY FINDIT=DIR \$1 /S /B
  146.  
  147.        Using the above DOSKEY definition you have created a new command 
  148.        called FINDIT such that when you type FINDIT *.WKS all 
  149.        spreadsheet files (which usually end in WKS) will be displayed 
  150.        and listed on screen. DOSKEY can use advanced DOS characters 
  151.        such as piping, input and output redirection and replaceable 
  152.        parameters (e.g., |, >, <, $1)
  153.        
  154.        -- DOSSHELL -- (External)
  155.        
  156.        This is a useful menu program for those preferring a visual 
  157.        "point and shoot" method of dealing with DOS and managing files,
  158.        rather than typing commands at the DOS prompt. It is mouseable 
  159.        and provides a file viewer and task switcher so you can jump 
  160.        between software programs and return exactly where you left off 
  161.        without having to exit each application software program 
  162.        in progress. 
  163.        
  164.        DOSSHELL syntax is:
  165.  
  166.        DOSSHELL [/G[:res[n]]|/T[:res[n]]] /B
  167.  
  168.        Parameters:
  169.        
  170.        /G                Start DOSSHELL in graphics mode
  171.        res               Sets screen resolution with L = low res,
  172.                          M = medium res, H = High res.
  173.        n                 Resolution number which varies depending
  174.                          on video card/adapter in use
  175.        /T                Shell is run in text mode
  176.        /B                Shell is run in black and white mode
  177.  
  178.        Several functions can ONLY be run from DOSSHELL. For example, 
  179.        DOSSHELL's rename function can rename a subdirectory which 
  180.        cannot be done with the RENAME command from the DOS prompt 
  181.        command line. Likewise, the task switching function can only be 
  182.        run from DOSSHELL and cannot be activated from the command line
  183.        DOS prompt. 
  184.        
  185.        -- EDIT -- (External)
  186.  
  187.        This is a full-screen text editor or "mini-word processor" which 
  188.        offers a practical, intuitive alternative to the previous DOS
  189.        EDLIN text processor. EDIT features text search and replace 
  190.        capabilities, pull-down menus, on-line help, and block moves. 
  191.  
  192.        EDIT syntax is:
  193.  
  194.        EDIT [[d:] [path] filename] [/B] [/G] [/H] [/NOHI]
  195.        
  196.        Parameters:
  197.        
  198.        filename          Name of the file to be edited
  199.        /B                Run editor in black and white mode
  200.        /G                Run editor with fast updates on CGA screens
  201.        /H                Display maximum number of allowable lines
  202.        /NOHI             High intensity colors are removed/suppressed
  203.        
  204.        EDIT will not run without the companion file QBASIC.EXE in the 
  205.        current directory or path. When you start EDIT, internal changes 
  206.        are made to QBASIC's editor and you are in fact running a 
  207.        modified version of QBASIC's own editor! 
  208.  
  209.        -- EMM386 -- (External)
  210.  
  211.        This utility is a memory manager for the "upper memory area" of 
  212.        DOS, sometimes called the UMA. It can make your computer's 
  213.        extended memory simulate expanded memory - if you have extra RAM 
  214.        memory installed beyond the conventional 640K amount. This is 
  215.        useful for software programs such as a spreadsheet which can 
  216.        increase performance when given access to expanded memory. Users 
  217.        of computers having an 80386 or 80486 CPU can also load programs 
  218.        and device drivers into this upper memory area. Typically those 
  219.        using upper or high memory will have 1 Meg, 2 Megs or even 4 
  220.        Megs of RAM memory available.
  221.               
  222.        EMM386 syntax is:
  223.  
  224.        EMM386 [ON|OFF|AUTO] [W=ON|OFF]
  225.  
  226.        Parameters:
  227.        
  228.        ON                Enables the EMM386 device driver
  229.        OFF               Disables the EMM386 device driver
  230.        AUTO              Device driver placed in auto mode
  231.        W=ON              Enables Weitek math coprocessor
  232.        W=OFF             Disables Weitek math coprocessor
  233.  
  234.        Note that a few software applications will not work with the 
  235.        EMM386 driver due to virtual-8086 CPU operation of EMM386. 
  236.        Placing EMM386 in either OFF mode (shuts driver off until 
  237.        reactivated with the ON command) or AUTO mode (automatically 
  238.        disables when application begins, then enables EMM386 when 
  239.        application exits) solves this problem. You cannot switch EMM386 
  240.        to OFF or AUTO mode when EMM386 is providing expanded memory to 
  241.        an application such as your spreadsheet or if there are TSR 
  242.        software programs or device drivers loaded into upper memory 
  243.        which EMM386 is managing.
  244.        
  245.        -- HELP -- (External)
  246.  
  247.        This command provides help/reminder screens about DOS command 
  248.        syntax and use. To obtain a complete list of all DOS commands, 
  249.        simply type HELP at the DOS prompt. Slightly faster, if you need 
  250.        help with only a single command is to type  HELP /?  
  251.        
  252.        If you know the specific DOS command for which you need help,
  253.        simply type HELP and the command name. (Example) HELP COPY
  254.  
  255.        HELP syntax is:
  256.  
  257.        HELP [command]
  258.        
  259.        -- HIMEM.SYS -- (External)
  260.  
  261.        This device driver manages extended memory including the HMA 
  262.        (high memory area) and prevents programs from simultaneously 
  263.        using the same area of memory. HIMEM.SYS is usually installed 
  264.        via a statement in your CONFIG.SYS file and should precede in 
  265.        the CONFIG.SYS file other device drivers which use extended 
  266.        memory such as EMM386, SMARTDRIVE.SYS or RAMDRIVE.SYS. 
  267.  
  268.        -- LOADHIGH -- (External) 
  269.  
  270.        Allows the user to load a TSR program such as a calculator or 
  271.        other "popup" program into the upper memory area of RAM.
  272.  
  273.        LOADHIGH syntax is:
  274.  
  275.        LOADHIGH [d:] [path] filename [parameters]
  276.  
  277.        Parameters:
  278.        
  279.        filename          Name of the program to load into high memory
  280.        parameters        Parameters used by the program loaded
  281.  
  282.        Warning: note that LOADHIGH will, without notice, load a program 
  283.        into conventional lower memory if there is insufficient upper 
  284.        memory to accomplish the task. LOADHIGH will not warn you of 
  285.        this result, but you can use the MEM/C command to determine 
  286.        where the program was loaded or to verify memory configuration 
  287.        if in doubt. 
  288.        
  289.        -- MEM -- (External)
  290.  
  291.        This DOS 5.0 utility provides a concise listing of memory use. 
  292.        It provides information on which programs, device drivers and 
  293.        buffers are in use, memory consumed, free memory and location of 
  294.        all software. Works with conventional, expanded and extended 
  295.        memory. 
  296.  
  297.        MEM syntax is:
  298.  
  299.        MEM [/CLASSIFY|/DEBUG|PROGRAM]
  300.  
  301.        Parameters:
  302.        
  303.        /CLASSIFY         Provide list of programs in conventional and 
  304.        or /C             upper memory
  305.        
  306.        /DEBUG            Provide list of programs and device drivers
  307.        or /D             loaded in memory
  308.        
  309.        /PROGRAM          Provide list of programs in memory
  310.        or /P
  311.  
  312.        The /C parameter switch is perhaps the most useful for 
  313.        determining contents of upper memory and may called from a batch 
  314.        file such as AUTOEXEC.BAT to confirm critical upper memory 
  315.        usage. 
  316.  
  317.        -- MIRROR -- (External)
  318.  
  319.        This unique utility creates a special "tracking" file which 
  320.        stores the location of files which have been deleted but can be 
  321.        located and "unerased" with the UNDELETE and UNFORMAT commands. 
  322.        By keeping a detailed record of deleted files by loading MIRROR, 
  323.        chances are improved for file recovery in case an unwanted 
  324.        deletion occurs. It can also backup a copy of the hard disk 
  325.        partition tables to floppy in case of massive file deletions or 
  326.        virus infection. MIRROR has three distinct functions. 
  327.  
  328.        MIRROR syntax and parameters are:
  329.  
  330.        MIRROR /PARTN     Creates a backup copy of hard disk partition
  331.                          tables.
  332.  
  333.        MIRROR d: [/1]    Creates MIRROR disaster recovery file used by
  334.                          UNFORMAT command
  335.  
  336.        MIRROR /Tdrive[-entries] [...]
  337.        
  338.                          The above command places MIRROR in memory 
  339.                          resident mode and provides deletion tracking
  340.                          in memory which can be used by the UNDELETE 
  341.                          command
  342.  
  343.        MIRROR /U         Removes the MIRROR utility from memory
  344.  
  345.        Parameters:
  346.  
  347.        /PARTN            Makes backup of disk partition tables
  348.        /1                Retains only latest disk information
  349.        /Tdrive           Provide deletion tracking for drive specified
  350.        entries           Within a range of 1 to 999, provide deletion
  351.                          tracking for the specified number of entries
  352.                          for the specified drive
  353.  
  354.  
  355.        The value of the MIRROR command lies in frequent use to prevent 
  356.        data loss due to accidental formatting, virus infection or 
  357.        other disk problems where sensitive files must be reliably 
  358.        maintained.
  359.  
  360.        -- QBASIC -- (External)
  361.  
  362.        Entire volumes have been written about Qbasic, also known as 
  363.        QuickBasic. It is a complete programming language that allows 
  364.        you to design custom software for jobs which DOS programming cannot 
  365.        provide. Qbasic provides a way to construct small databases, 
  366.        printing software, calculators or simple business accounting 
  367.        software. Qbasic, as delivered with DOS 5.0, is an interpreter 
  368.        which must be present at all times along with your software 
  369.        program. 
  370.        
  371.        A basic compiler, which is an entirely different programming 
  372.        package, allows you to build standalone software packages which 
  373.        do not require a Qbasic interpreter to be present. Qbasic 
  374.        includes a workable program text editor for easy program 
  375.        construction. Basic programs use the extension BAS. For example 
  376.        you might see a file named BASEBALL.BAS which is run by loading 
  377.        it into the Qbasic interpreter. If you load Qbasic then can't 
  378.        figure how to get back to DOS, type the command  SYSTEM  then 
  379.        hit the return key/press enter. 
  380.  
  381.        Qbasic syntax is:
  382.  
  383.        QBASIC [/B] [/EDITOR] [/G] [/H] [/MBF] [/NOHI] [[/RUN][d:]
  384.                [path]filename]
  385.  
  386.        Parameters:                
  387.  
  388.        /B                Starts Qbasic in black and white mode
  389.        /EDITOR           Starts only the DOS editor
  390.        /G                Fast screen update on CGA displays
  391.        /H                Display maximum number of lines
  392.        /MBF              Change the internal Qbasic functions as follows:
  393.                          CVD to CVDMBF
  394.                          CVS to CVSMBF
  395.                          MKS$ to MKSMBF$
  396.                          MKD$ to MKDMBF$
  397.        /NOHI             Suppress colors in high intensity hues
  398.        /RUN              Run program specified by filename
  399.        filename          Name of Basic program to run
  400.  
  401.        You can now run a Qbasic program from a batch file, then return 
  402.        control back to the original batch file. Use the /RUN parameter 
  403.        switch and make the final statement in the Qbasic program  SYSTEM.
  404.  
  405.        -- SETVER --  (External)
  406.  
  407.        This small, but necessary utility is of use when you need to 
  408.        reset the internal DOS version number - such as DOS 5.0 - to an 
  409.        earlier version number so that older software which checks this 
  410.        number will run reliably. SETVER also updates a list of 
  411.        programs and the required DOS version number each program needs. 
  412.        If a program refuses to load and run or reports an incorrect DOS 
  413.        version number, SETVER may be the utility you need. Simply add 
  414.        the name of the problem software application and required DOS 
  415.        version number to the SETVER data list. Note that SETVER only 
  416.        works when it is loaded with a DEVICE or DEVICEHIGH statement 
  417.        in the CONFIG.SYS file. When you update or change entries in the 
  418.        SETVER data table, you must restart your computer to update the 
  419.        changes. 
  420.  
  421.        SETVER syntax is: 
  422.  
  423.        SETVER [d:path] [filename] [n.nn] [/DELETE] [/QUIET] 
  424.  
  425.        Parameters: 
  426.        
  427.        d:path            Drive and path where SETVER is stored
  428.        filename          Filename of software program to which a
  429.                          version number is given
  430.        n.nn              Version number to report: 2.11, for example
  431.        /DELETE           Delete an entry from the SETVER data table
  432.        /QUIET            Remove/suppress messages when /DELETE
  433.                          is active
  434.  
  435.        -- SHELL -- (External)
  436.  
  437.        This utility is a versatile menu system which lets you move, 
  438.        copy, delete, view and manage files with a point and click menu 
  439.        interface. File viewing is available in either ASCII plaintext 
  440.        or hexadecimal display mode. An onboard task switcher lets you 
  441.        start a software application, freeze the screen and data, exit 
  442.        to a different application then later return to your first 
  443.        application where you left off. New file management capabilities 
  444.        allow you to search an entire hard drive for a file, alter file 
  445.        attributes and even associate data files with a parent software 
  446.        application. Once the data is associated or "linked" to its 
  447.        parent software application, you can start the program simply by 
  448.        clicking on the data file - such as a spreadsheet template or 
  449.        word processing document. The shell display operates in graphics 
  450.        modes including 43 and 60 line displays. The shell consists of 
  451.        several operational files and help screens such as SHELLB.COM, 
  452.        SHELLC.EXE, SHELL.ASC, SHELL.CLR, SHELL.HLP and SHELL.MEU.
  453.  
  454.        -- SMARTDRIVE.SYS -- (External)
  455.  
  456.        This utility creates a disk cache in RAM memory which can speed 
  457.        up the performance of software applications which frequently 
  458.        access the hard drive. By using a cache, frequently needed data 
  459.        is stored in a fast RAM cache memory area rather than waiting on 
  460.        the more slowly accessed disk. By default, SMARTDRIVE.SYS is 
  461.        installed to extended memory to conserve conventional memory 
  462.        space for software applications. Using the /A switch after the 
  463.        command forces installation to expanded memory. Since 
  464.        SMARTDRIVE.SYS is a device driver, it must be installed as a 
  465.        DEVICE statement in your CONFIG.SYS file. 
  466.        
  467.        -- UNDELETE -- (External)
  468.  
  469.        Allows accidentally deleted files to be recovered. Since DOS 
  470.        deletes files by merely removing the filename from a master 
  471.        index called the allocation table, it is possible to recover the 
  472.        data if a recovery attempt is made SOON after the file is 
  473.        deleted to prevent newer files from eventually erasing the older 
  474.        data. Using the DOS MIRROR program substantially increases the 
  475.        recovery chance from file deletion disasters.
  476.        
  477.        UNDELETE syntax is: 
  478.  
  479.        UNDELETE [[d:][path]filename] [/LIST|/ALL] [/DOS|/DT]
  480.  
  481.        Parameters: 
  482.        
  483.        filename          Name of file(s) to undelete
  484.        /LIST             List the file which might be recoverable
  485.        /ALL              Undelete all files without prompting for
  486.                          first letter of each filename
  487.        /DOS              Ignore delete tracking file
  488.        /DT               Use delete tracking file
  489.        
  490.        A quick shortcut if you need to undelete several files without 
  491.        halting to supply the first letter of each one is to move to the 
  492.        directory where the files were stored by using the CHANGE 
  493.        DIRECTORY or CD command, then enter   UNDELETE /ALL. Since you 
  494.        are in the directory in question, UNDELETE will recover all 
  495.        files which you can later rename if necessary.
  496.  
  497.        -- UNFORMAT -- (External)
  498.  
  499.        Provides the capability to restore the directory structure of a 
  500.        floppy or hard disk which has been accidentally formatted with 
  501.        the FORMAT command or restructured with the RECOVER command.
  502.        Also provides capability to rebuild damaged hard disk 
  503.        partition/allocation tables. Works with local drives - will not 
  504.        work with drives which are part of a LAN (local area network.)
  505.        Use UNFORMAT to display hard disk partition info by typing the 
  506.        command: UNFORMAT /PARTN /L
  507.  
  508.        UNFORMAT syntax is: 
  509.  
  510.        UNFORMAT /PARTN [/L]    Restores hard drive partition table
  511.  
  512.        UNFORMAT d: [/U] [/L] [/TEST] [/P]
  513.                                Above unformats a hard or floppy disk
  514.  
  515.        UNFORMAT d: /J          Verifies that a disk contains MIRROR
  516.                                data file
  517.        
  518.        Parameters:
  519.  
  520.        /PARTN                  Saves copy of hard disk partition tables
  521.        
  522.        /L                      Displays partition info for selected
  523.                                drive. Without the /L switch: list every
  524.                                file and subdirectory found and ignore 
  525.                                MIRROR data file if existent.
  526.  
  527.        /U                      Unformat a disk without using MIRROR
  528.                                data file
  529.  
  530.        /TEST                   Perform test unformat. Do not actually
  531.                                unformat.
  532.  
  533.        /P                      Send report/data to printer port LPT1
  534.  
  535.        /J                      Verify MIRROR data file
  536.  
  537.        Tutorial finished. Have you registered PC-Learn to receive your
  538.        bonus disks? Registration is encouraged. Shareware works on the
  539.        honor system! Send $25 to Seattle Scientific Photography, 
  540.        Department PCL6, PO Box 1506, Mercer Island, WA 98040. Latest 
  541.        version of PC-Learn and two bonus disks shipped promptly!
  542.  
  543.