Folder Exists

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
Line 6: Line 6:
  
 
<pre>
 
<pre>
set(#checking, $folder exists("C:\\Users\\Desktop\\Miscellaneous"), "Global")
+
set(#checking,$folder exists("C:\\Users\\Desktop\\UBot Media\\Documents"),"Global")
 
+
 
</pre>
 
</pre>
  
Line 14: Line 13:
  
  
[[File:folderexists0.jpg]]
+
[[File:foldex.jpg]]
  
  
Line 22: Line 21:
  
  
[[File:folderexists.jpg]]
+
[[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".


Foldex.jpg



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


Foldex.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox