Command-line Utility

Top  Previous  Next

R-Crypto provides a command-line utility for advanced managing of the encrypted disks' connections. This command-line utility is intended to be used in batch files.

Connect an encrypted disk

To connect the desired file-container to the system run the following command:

EdiskCmd.exe connect [<connect options>] <file-container path>

 

Valid connect command options

--password=PWD or -p=PWD

Specifies the file-container password as PWD.

--readonly or -ro

Use this option to connect the encrypted disk as write protected.

--connect-point=CP or -cp=CP

Specifies the encrypted disk connection point as CP. CP can be a drive letter, e.g. "S:", or a path to an empty NTFS folder.

--fixed or -fd

Use this option to connect the encrypted disk emulating a fixed disk.

Examples:

EdiskCmd.exe connect C:\MyEncryptedDisk.edsk

EdiskCmd.exe connect --connect-point=R: --password=secret C:\MyEncryptedDisk.edsk

 

Disconnect an encrypted disk

To disconnect the desired encrypted disk from the system run the following command:

EdiskCmd.exe disconnect [<disconnect options>] <file-container path or disk connection point>

 

Valid disconnect command options

--force or -f

Force encrypted disk disconnection even if there are any opened handles to the disk.

Examples:

EdiskCmd.exe disconnect S:

EdiskCmd.exe disconnect C:\MyEncryptedDisk.edsk

 

Disconnect all encrypted disks

To disconnect all connected encrypted disks from the system run the following command:

EdiskCmd.exe disconnectall [<disconnectall options>]

 

Valid disconnectall command options

--force or -f

Force encrypted disk disconnection even if there are any opened handles to the disk.

Examples:

EdiskCmd.exe disconnectall --force