disk.getMountPath
From ComputerCraft Wiki
Function disk.getMountPath | |
Finds the directory name on the local computer where the contents of the Floppy Disk currently inserted in the drive can be found. | |
Syntax | disk.getMountPath(string side) |
Returns | string path, or nil if the drive does not contain a floppy |
Part of | ComputerCraft |
API | disk |
Examples
Example | |
Finds the path of the bottom disk drive | |
Code |
print(disk.getMountPath("bottom")) |
Output | disk |