Command Reference : Function Reference : Function Reference: F
  
 
@folderexist
Check for existence of a folder on disk.
Syntax: @folderexist(str)
str: string
Return: integer
str should contain the full path of the folder you want to verify. Returns a “1” if the folder exists, and a “0” if it does not exist.
Examples
!exists = @folderexist("backup")
checks for the existence of the folder BACKUP in the EViews working directory.
!exists = @folderexist("c:\users\william tell\backup")
checks for the existence of BACKUP in the specified directory.
Cross-references
See also @wdir and @fileexist.