File Exists
From UBot Studio
(Difference between revisions)
(Created page with "$File Exists is a File Function. The function returns the list of all files within a given directory. You can set the function to return all files with fil...") |
(→Example) |
||
Line 11: | Line 11: | ||
If the file exists, the function will return the value "true". | If the file exists, the function will return the value "true". | ||
+ | |||
[[File:fileexists0.jpg]] | [[File:fileexists0.jpg]] | ||
+ | |||
+ | |||
If the file does not exist, the function will return the value "false". | If the file does not exist, the function will return the value "false". | ||
+ | |||
[[File:fileexists.jpg]] | [[File:fileexists.jpg]] |
Revision as of 17:30, 11 April 2013
$File Exists is a File Function. The function returns the list of all files within a given directory.
You can set the function to return all files with file paths included or only the name of the files with their extensions.
Example
set(#checking, $file exists("C:\\Users\\Desktop\\Miscellaneous\\summaries.txt"), "Global")
If the file exists, the function will return the value "true".
If the file does not exist, the function will return the value "false".