Skip to content

DBLSPACE Windows command

The DBLSPACE command on Windows is used to compress and manage disk space efficiently. It allows users to create and manage compressed drive volumes, making it easier to store large amounts of data on their hard drive. By using DBLSPACE, users can save disk space by compressing files and directories, reducing the amount of space they take up on the disk. This can be particularly useful for users who have limited disk space or need to free up space for other applications. Overall, the DBLSPACE command can help users better manage their disk space and improve the overall performance of their system.

Terminal window
dblspace [drive:][path] [/create] [/delete] [/list]
OptionDescription
/createCreate a new compressed drive.
/deleteDelete a compressed drive.
/listList all compressed drives.
ParameterDescription
[drive:]Specifies the drive letter for DBLSPACE.
[path]Specifies the directory path for DBLSPACE.

Create a new compressed drive with a specified size

Section titled “Create a new compressed drive with a specified size”
Terminal window
dblspace /create /size:100 /drive:Z

Creates a new compressed drive with a size of 100 MB and assigns it the drive letter Z.

Mount an existing compressed drive to a specified drive letter

Section titled “Mount an existing compressed drive to a specified drive letter”
Terminal window
dblspace /mount /drive:C /newdrive:Z

Mounts an existing compressed drive with the drive letter C to a new drive letter Z.

Display information about the compressed drives

Section titled “Display information about the compressed drives”
Terminal window
dblspace /list

Displays information about all the compressed drives on the system.

Expand the capacity of an existing compressed drive

Section titled “Expand the capacity of an existing compressed drive”
Terminal window
dblspace /expand /drive:Z /size:50

Expands the capacity of the compressed drive Z by an additional 50 MB.

Terminal window
dblspace /delete /drive:Z

Deletes the compressed drive with the drive letter Z.

Check the integrity of the compressed drives

Section titled “Check the integrity of the compressed drives”
Terminal window
dblspace /verify

Checks the integrity of all the compressed drives on the system.

Terminal window
dblspace /defrag /drive:Z

Defragments the compressed drive with the drive letter Z to optimize its performance.

Enable drive compression for a specific drive

Section titled “Enable drive compression for a specific drive”
Terminal window
dblspace /compress /drive:Z

Enables drive compression for the drive with the letter Z.

To use the dblspace command in CMD, execute the following command:

Terminal window
dblspace --format C:

How do I compress a drive using dblspace in CMD?

Section titled “How do I compress a drive using dblspace in CMD?”

To compress a drive using dblspace in CMD, use the following command:

Terminal window
dblspace --compress D:

How do I mount a compressed drive using dblspace in CMD?

Section titled “How do I mount a compressed drive using dblspace in CMD?”

To mount a compressed drive using dblspace in CMD, use the following command:

Terminal window
dblspace --mount D:

How do I view information about a compressed drive in CMD using dblspace?

Section titled “How do I view information about a compressed drive in CMD using dblspace?”

To view information about a compressed drive in CMD using dblspace, enter the following command:

Terminal window
dblspace --info D:

How do I uncompress a drive in CMD using dblspace?

Section titled “How do I uncompress a drive in CMD using dblspace?”

To uncompress a drive in CMD using dblspace, use the following command:

Terminal window
dblspace --uncompress D:

How do I increase the size of a compressed drive in CMD using dblspace?

Section titled “How do I increase the size of a compressed drive in CMD using dblspace?”

To increase the size of a compressed drive in CMD using dblspace, execute the following command:

Terminal window
dblspace --resize D: +1GB

How do I defragment a compressed drive in CMD using dblspace?

Section titled “How do I defragment a compressed drive in CMD using dblspace?”

To defragment a compressed drive in CMD using dblspace, enter the following command:

Terminal window
dblspace --defragment D:

How do I delete a compressed drive in CMD using dblspace?

Section titled “How do I delete a compressed drive in CMD using dblspace?”

To delete a compressed drive in CMD using dblspace, use the following command:

Terminal window
dblspace --delete D:

How do I list all compressed drives in CMD using dblspace?

Section titled “How do I list all compressed drives in CMD using dblspace?”

To list all compressed drives in CMD using dblspace, enter the following command:

Terminal window
dblspace --list

##Applications of the DBLSPACE Command

  1. Compressing and decompressing DriveSpace compressed drives
  2. Managing compressed drives created by Windows DriveSpace
  3. Checking the status of compressed drives
  4. Activating or deactivating compressed drives