Exists(file): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(added group) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{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== | ||
exists[section]=<flag(boolean)> | exists[section]=<flag(boolean)> | ||
exists[section]!=<flag(boolean)> | exists[section]!=<flag(boolean)> | ||
===Examples=== | ===Examples=== | ||
| Line 20: | 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=== | ||
* [[ | * [[filename]] | ||
* [[ | * [[filepath]] | ||
* [[ | * [[fullpath]] | ||
===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.