filename_drive

This function returns the drive information of the filename.

 

Syntax:

filename_drive(fname);

ArgumentTypeDescription
fnameStringThe file to use.

 

Returns:

String

 

Example:

drive = filename_drive(file_find_first(working_directory + "*.doc", 0));

The above code gets the drive information (as a string) of the specified file.