ssCore.FileSys.driveType

Allows you to figure out what kind of drive you're working with.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

drive - Drive to be identified.


Output Parameters:

result - Drive type.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.FileSys.driveType( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.FileSys.driveType( paramsObject );


Notes:

You must provide the drive letter and the colon (":") in the drive argument to FileSys.driveType.

This command can return the following values for result:

                

Examples:

var return_obj = ssCore.FileSys.driveType({drive:"D:"});

ssDebug.trace(return_obj.result);