GetDriveType

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetDriveType


 

Determines the type of a specified drive.

 


syntax

GetDriveType(

         drives

         [, &volumeName]

         )

 


Parameters

 

drives

 

Type:

Characters (array)

 

Specifies the disk drive you want to check.

 

&volumeName

 

Type:

Characters (array)

 

Returns the volume name.

 

Return Value

 

 

Type:

Numeric Array

 

Returns the drive type. If multiple drives are specified in the drives argument, the types are returned as an array.

0 - Drive type cannot be determined.

1-The specified root directory does not exist.

2- You can now remove the disk from the drive.

3- I can't remove the disk from the drive.

4 - Remote (network) drive.

5 - CD-ROM drive.

6 - RAM disk.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

×

Calculation formula syntax

 

 


reference