filename_drive

Returns the drive information of the file.

Syntax:

filename_drive(fname);


Argument Description
fname The file to use.


Returns: String.


Description

This function returns the drive information of the filename.


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.


Back: File System Functions
Next: filename_ext
© Copyright YoYo Games Ltd. 2018 All Rights Reserved