Please enable JavaScript to view this site.

Start a search for files (but also folders and drives)

Syntax

searchForFiles(string filter, uint flags = XFileSystem_All): bool

filter

Name of the file to be deleted

flags

Operation flags

Result

Return operation logical result

Available operation flags are the following:

Label

Description

XFileSystem_Dirs

Search for folders

XFileSystem_Files

Search for files

XFileSystem_Drives

Search for drives

XFileSystem_NoSymLinks

Skip symbolic links in search

XFileSystem_All

Search for all

XFileSystem_Readable

Search for readable permission

XFileSystem_Writable

Search for writable permission

XFileSystem_Executable

Search for executable permission

XFileSystem_RWEMask

Permission mask

XFileSystem_Modified

Search for modified items

XFileSystem_Hidden

Search for system items

XFileSystem_CaseSensitive

Search for case-sensitive items

Notes:

Jolly character are allowed in the filter.

If the filename is relative, it will be referred to current directory path (see dirPath() method).

Results can be checked with searchNext() and searchCurrentFilepath() methods..

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC