Folder Exists
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
− | set(#checking, $folder exists("C:\\Users\\Desktop\\ | + | set(#checking,$folder exists("C:\\Users\\Desktop\\UBot Media\\Documents"),"Global") |
− | + | ||
</pre> | </pre> | ||
Line 14: | Line 13: | ||
− | [[File: | + | [[File:foldex.jpg]] |
Line 22: | Line 21: | ||
− | [[File: | + | [[File:foldex.jpg]] |
Revision as of 21:41, 29 December 2016
$Folder Exists is a File Function. The function returns whether or not a folder exists.
Folder To Check: The search folder, complete with folder path.
Example
set(#checking,$folder exists("C:\\Users\\Desktop\\UBot Media\\Documents"),"Global")
If the folder exists, the function will return the value "true".
If the folder does not exist, the function will return the value "false".