Files and Folders question
Monkey Targets Forums/Desktop/Files and Folders question| 
 | ||
| When using LoarDir() Is there any way to identify whether the content is a file or a folder? Currently I use if it contains a "." but that doesnt always work (i.e. monkeygame.data folder) Cheers | 
| 
 | ||
| assuming monkey.os module: If FileType( path$ ) = FILETYPE_NONE Print "no file or directory" ElseIf FileType( path$ ) = FILETYPE_FILE Print "A file exists" ElseIf FileType( path$ ) = FILETYPE_DIR Print "A folder exists" Endif | 
| 
 | ||
| Thank you soooo much :) | 
| 
 | ||
| Also is there any way to get the drives available (C:, D: etc, Mac Hdd etc)? |