Difference between revisions of "Exists(file)"

From SpybotWiki
Jump to: navigation, search
(added group)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|VARIANTS = exists[file]!
 
|VARIANTS = exists[file]!
 
|PEVERSION = > 1.5.4.5
 
|PEVERSION = > 1.5.4.5
|SIMILARCOMMANDS = [[NTFile]]
+
|GROUP = Basic Attributes
|SIMILARFILEPARAMS =
 
[[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.
  
Line 16: Line 10:
 
  exists[section]=<flag(boolean)>
 
  exists[section]=<flag(boolean)>
 
  exists[section]!=<flag(boolean)>
 
  exists[section]!=<flag(boolean)>
 
===Availability===
 
Needs [[AdvCheck.dll]] later than version 1.5.4.5.
 
  
 
===Examples===
 
===Examples===
Line 32: Line 23:
 
==See also==
 
==See also==
 
* [http://msdn2.microsoft.com/en-us/library/aa364418(VS.85).aspx FindFirstFile (Microsoft Developer Network)]
 
* [http://msdn2.microsoft.com/en-us/library/aa364418(VS.85).aspx FindFirstFile (Microsoft Developer Network)]
 +
 +
===Similar parameters===
 +
* [[filename]]
 +
* [[filepath]]
 +
* [[fullpath]]
 +
 +
===Similar commands===
 +
*  [[NTFile]]

Latest revision as of 08:53, 22 February 2008

exists[file]
Variants exists[file]
exists[file]!
Previously {{{PREVIOUS}}}
Group Basic Attributes
Version advcheck.dll > 1.5.4.5

Checks whether the file exists, using Win32 methods.

Usage

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

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

Similar parameters

Similar commands