home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 198 / DOS6ALL.ZIP / Q96250 < prev    next >
Text File  |  1993-06-05  |  6KB  |  149 lines

  1. ARTICLE-ID:Q96250
  2. TITLE     :How to Remove DoubleSpace and Preserve Your Files             
  3.  
  4. --------------------------------------------------------------------
  5. The information in this article applies to:
  6.  
  7.  - Microsoft MS-DOS operating system version 6.0
  8. --------------------------------------------------------------------
  9.  
  10. Summary:
  11.  
  12. The following procedure describes how to remove DoubleSpace from your
  13. hard disk while preserving your files. It is a lengthy procedure and
  14. should be followed only if DoubleSpace removal is necessary. If you
  15. need to change the size of your DoubleSpace volume, type "help
  16. dblspace" (without the quotation marks) at the MS-DOS command prompt
  17. and refer to the online help topic DBLSPACE /SIZE.
  18.  
  19. Note: This example assumes that you have compressed your boot drive
  20. (C) and that your DoubleSpace host partition is H. For more
  21. information on how DoubleSpace assigns host partitions, query on the
  22. following words in the Microsoft Knowledge Base:
  23.  
  24.    doublespace and assigns and host
  25.  
  26. If you are not removing DoubleSpace from your boot drive, skip
  27. steps 2-7.
  28.  
  29.  1. Back up all the files you want to preserve from your compressed
  30.     drive (C) by using Microsoft Backup or a third-party backup utility.
  31.     (For information on using Microsoft Backup, see Chapter 3, "Managing
  32.     Your System," in the "Microsoft MS-DOS User's Guide.")
  33.  
  34.  2. When you remove DoubleSpace, what is now drive H will become drive
  35.     C, which means you will boot from drive H. To be able to boot from
  36.     drive H and restore your backup files, the DoubleSpace host partition
  37.     must contain the necessary MS-DOS system files and utilities.
  38.     Furthermore, if you stored your backup files on a network drive,
  39.     network redirectors must be available.
  40.  
  41.     Determine how much free space you will need to copy the MS-DOS
  42.     files (and network redirectors) on the DoubleSpace host partition
  43.     (drive H). To do so, use the DIR command. For example, to see how
  44.     much space is needed for your MS-DOS files, type the following
  45.     command:
  46.  
  47.        dir c:\dos
  48.  
  49.     The output appears as follows:
  50.  
  51.        ...
  52.        UNFORMAT.COM
  53.        VALIDATE.COM
  54.        VSAFE.COM
  55.        XCOPY.EXE
  56.        194 file(s)    7003143 bytes
  57.                      12959744 bytes free
  58.  
  59.     The next-to-last line shows the number of bytes used by the files in
  60.     the DOS directory. This number is the amount of free disk space needed
  61.     to store the necessary files and utilities after DoubleSpace is
  62.     removed.
  63.  
  64.  3. To free unused disk space from the DoubleSpace compressed volume,
  65.     use the /SIZE switch as follows:
  66.  
  67.        dblspace /size
  68.  
  69.  4. Determine how much free space there is on the DoubleSpace host
  70.     partition. To do this, change to drive H and use the DIR command. The
  71.     last line of the output from the DIR command shows the number of bytes
  72.     free on drive H. If this number is greater than the number you found
  73.     in step 2, there is enough space to copy the necessary files and
  74.     utilities, and you can proceed with step 6. If there is not enough
  75.     space on the DoubleSpace host partition, proceed to step 5.
  76.  
  77.  5. Delete enough files on drive C to create the needed space you
  78.     determined during step 2. (Note: Do not delete any MS-DOS or network
  79.     files; those files must be present during this procedure.)
  80.  
  81.     You can use the DELTREE command to do this. (DELTREE quickly deletes
  82.     entire directories.) For example, to remove the WORD directory and all
  83.     the files and subdirectories it contains, type the following:
  84.  
  85.        deltree /y c:\word
  86.  
  87.     After you delete some files, shrink the DoubleSpace volume file
  88.     again by typing the following:
  89.  
  90.        dblspace /size
  91.  
  92.     To find out if you've created enough free disk space, change to drive
  93.     H and use the DIR command. Again, the bytes in use and bytes free are
  94.     displayed. If the last line, "bytes free," shows enough free disk
  95.     space, continue with step 6. Otherwise, repeat step 5.
  96.  
  97.  6. Copy all the MS-DOS and network files that you need (the files you
  98.     determined were necessary during step 2) to the DoubleSpace host
  99.     partition (drive H). To preserve the file and directory structure, you
  100.     can use the XCOPY command with the /S switch. For example, to copy all
  101.     the MS-DOS files into a DOS directory on H, type the following:
  102.  
  103.        md h:\dos
  104.        xcopy c:\dos\*.* h:\dos /s
  105.  
  106.  7. Make sure there is a copy of COMMAND.COM in the root of the
  107.     DoubleSpace host partition by typing the following:
  108.  
  109.        dir h:\command.com
  110.  
  111.     If COMMAND.COM is not present, copy it from the boot drive (C) with
  112.     the following command:
  113.  
  114.        copy c:\command.com h:\
  115.  
  116.     Repeat this step for AUTOEXEC.BAT and CONFIG.SYS files. These files
  117.     need to be in the root of the DoubleSpace host partition as well.
  118.  
  119.     You now have all the files you need to boot from the uncompressed
  120.     drive and restore your backup files; you can begin removing the
  121.     DoubleSpace volume.
  122.  
  123.  8. Switch to the root of the DoubleSpace host partition by typing the
  124.     following:
  125.  
  126.        h:
  127.        cd\
  128.  
  129.  9. Delete the DoubleSpace files by using the following command:
  130.  
  131.        deltree /y dblspace.*
  132.  
  133. 10. If you are removing DoubleSpace from your boot drive, open the
  134.     CONFIG.SYS file from the DoubleSpace host partition (H) in a text
  135.     editor, such as MS-DOS Editor. If you are not removing DoubleSpace
  136.     from your boot drive, open the CONFIG.SYS file from drive C. Remove
  137.     any reference to DBLSPACE.SYS. For example, change your DBLSPACE.SYS
  138.     DEVICE command to appear as follows:
  139.  
  140.        rem device=c:\dos\dblspace.sys
  141.  
  142. 11. Restart your computer by pressing CTRL+ALT+DEL.
  143.  
  144. 12. Restore your backup files.
  145.  
  146. DoubleSpace has now been removed from your system.
  147.  
  148. Additional reference words: 6.00 howto
  149.