Difference between revisions of "Exists(file)"

From SpybotWiki
Jump to: navigation, search
(added group)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{AdvParamInfo
 
{{AdvParamInfo
 
|SYNTAX = exists[file]
 
|SYNTAX = exists[file]
 +
|TITLESYNTAX = exists(file)
 
|VARIANTS = exists[file]!
 
|VARIANTS = exists[file]!
|DLLVERSION = > 1.5.4.5
+
|PEVERSION = > 1.5.4.5
|SIMILARCOMMANDS = [[NTFile]]
+
|GROUP = Basic Attributes
|SIMILARFILEPARAMS =
+
}}Checks whether the file exists, using Win32 methods.
[[count(sections)]]<br />[[md5(section)]]<br />[[md5(sections)]]<br />[[size(section)]]<br />[[size(sections)]]
 
}}{{DISPLAYTITLE:exists(file)}}{{AdvFileParam|exists[file]}}
 
Checks whether the file exists, using Win32 methods.
 
  
 
==Usage==
 
==Usage==
 
  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 27: Line 22:
  
 
==See also==
 
==See also==
 +
* [http://msdn2.microsoft.com/en-us/library/aa364418(VS.85).aspx FindFirstFile (Microsoft Developer Network)]
  
 
===Similar parameters===
 
===Similar parameters===
* [[count(sections)]]
+
* [[filename]]
* [[md5(section)]]
+
* [[filepath]]
* [[md5(sections)]]
+
* [[fullpath]]
* [[size(section)]]
 
* [[size(sections)]]
 
  
 
===Similar commands===
 
===Similar commands===
* [[NTFile]]
+
* [[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