File Exists

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
$File Exists is a [[File Functions|File Function]]. The function returns whether or not a file exists.
 
$File Exists is a [[File Functions|File Function]]. The function returns whether or not a file exists.
  
'''File To Check:''' The search file.
+
'''File To Check:''' The search file, complete with file path and extensions.
  
 
== Example ==
 
== Example ==

Revision as of 20:15, 1 May 2013

$File Exists is a File Function. The function returns whether or not a file exists.

File To Check: The search file, complete with file path and extensions.

Example

set(#checking, $file exists("C:\\Users\\Desktop\\Miscellaneous\\summaries.txt"), "Global")


If the file exists, the function will return the value "true".


File:Fileexists0.jpg



If the file does not exist, the function will return the value "false".


File:Fileexists.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox