<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Determines the type of a specified drive.
syntax
GetDriveType(
drives
[, &volumeName]
)
Parameters
Type:
Characters (array)
Specifies the disk drive you want to check.
&volumeName
Returns the volume name.
Return Value
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.
Explanation
Determines the type of drive specified.
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
×
Calculation formula syntax
Can be used in expression syntax (e.g. bind syntax)
reference
LoadTextFile
SaveTextFile
LoadCsvFile
SaveCsvFile
SavePrintText
GetTempFolder
GetTempFile
GetCurrentFolder
GetModuleFolder
GetFileSize
GetFileLastWriteTime
GetLogicalDrives
GetDriveType
EncryptFile
DecryptFile
SetClipboardData
GetClipboardData