Difference between revisions of "Exists(file)"

From SpybotWiki
Jump to: navigation, search
Line 6: Line 6:
 
|SIMILARCOMMANDS = [[NTFile]]
 
|SIMILARCOMMANDS = [[NTFile]]
 
|SIMILARFILEPARAMS =  
 
|SIMILARFILEPARAMS =  
[[count(sections)]]<br />[[md5(section)]]<br />[[md5(sections)]]<br />[[size(section)]]<br />[[size(sections)]]
+
[[count(sections)]]<br />
 +
[[md5(section)]]<br />
 +
[[md5(sections)]]<br />
 +
[[size(section)]]<br />
 +
[[size(sections)]]<br />
 
}}Checks whether the file exists, using Win32 methods.
 
}}Checks whether the file exists, using Win32 methods.
  

Revision as of 18:15, 21 February 2008

exists[file]
Variants exists[file]
exists[file]!
Previously {{{PREVIOUS}}}
Group [[:Category:Advanced file parameters for {{{GROUP}}}|{{{GROUP}}}]]
Version advcheck.dll > 1.5.4.5

[[Category:Advanced file parameters for {{{GROUP}}}]] Checks whether the file exists, using Win32 methods.

Usage

exists[section]=<flag(boolean)>
exists[section]!=<flag(boolean)>

Availability

Needs AdvCheck.dll later than version 1.5.4.5.

Examples

exists[file]=1
exists[file]!=0
exists[file]=0

As usual, 1 stand for true and 0 for false here.

Description

Checks whether the file exists, using Win32 methods. Useful in combination with NTFile, where it can be used to determine whether the file found using native methods is visible (or not) through the Win32 API.

See also