Create Mapped Drive

Run the elevated Windows command prompt under the local administrator account.

  1. Click on the Windows Start button.
  2. Type cmd.exe in the search field, then press Enter.
  3. Change your current folder to the CloudBerry Drive installation folder. Use the following command:
cd "C:\Program Files\CloudBerryLab\CloudBerry Drive"

To add drive, use the following command:

cbd.exe addDrive -d driveLetter -an accountName -path container/folder -label volumeLabel

To mount a mapped drive, user the following command:

cbd.exe mountDrive driveLetter

To unmount a mapped drive, use the following command:

cbd.exe unmountDrive driveLetter

Command Parameters

You can specify the following parameters:

  • -d specifies any drive letter you prefer
  • -an path to your data container - bucket/folder/subfolder. You can specify the path using slash
  • -label a mapped drive label. Specify any of your choice
  • -as specifies whether to mount drive as a removable disk or as a network mapped drive. By default drive is mounted as a network mapped drive. Possible values: removable, network
  • -ss specifies if to mount drive at system startup. By default drive is mounted on a startup. Possible values: yes, no
  • -ro specifies if to mount drive for read-only access. Possible values: yes, no. Default setting is "no"
  • -rrs specifies if to use Reduced Redundancy Storage for Amazon S3 accounts. Possible values: yes, no. Default setting is "no"
  • -ssl specifies if to use Server Side Encryption. Possible values: yes, no. Default setting is "no"

You can learn more about parametrs for addDrive by entering the following command:

cbd.exe addDrive -?

Command Examples

cbd.exe addAccount -d mys3 -st S3 -ac XXXXXXXXXXXXXXXXXXXX -sk XXXxxXXXXXXXxxXXXXXXxXXXXXXxxxXXXXXXXX

cbd.exe proxysettings -type auto

cbd.exe editAccount -d mys3 -ssl yes

cbd.exe addDrive -d Z -an mys3 -path mybucket/reports -label myreports -rrs yes

cbd.exe mountDrive Z
https://git.cloudberrylab.com/egor.m/doc-help-std.git