Difference between revisions of "Exists(file)"

From SpybotWiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE:exists(file)}}{{AdvFileParam|exists[file]}} Checks whether the file exists, using Win32 methods. ==Usage== exists[section]=<flag(boolean)> exists[section]!=<flag(boolean)...)
 
(added group)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:exists(file)}}{{AdvFileParam|exists[file]}}
+
{{AdvParamInfo
Checks whether the file exists, using Win32 methods.
+
|SYNTAX = exists[file]
 +
|TITLESYNTAX = exists(file)
 +
|VARIANTS = exists[file]!
 +
|PEVERSION = > 1.5.4.5
 +
|GROUP = Basic Attributes
 +
}}Checks whether the file exists, using Win32 methods.
  
 
==Usage==
 
==Usage==
Line 17: 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