This function returns the drive information of the filename.
filename_drive(fname);
| Argument | Type | Description |
|---|---|---|
| fname | String | The file to use. |
drive = filename_drive(file_find_first(working_directory + "*.doc", 0));
The above code gets the drive information (as a string) of the specified file.