IntControl 91

Syntax:

IntControl (91, p1, 0, 0, 0)

 

Sets file mask matching mode.

p1 Meaning
0 Only match long version of file names (default).

1 Match long and short versions of file names.

2 Only match long version of file names, using alternate method (PathMatchSpec API).

 

This controls the behavior of functions which take file masks. By default, masks only match the long version of the file name. For example, if you do FileItemize("*.htm"), it will not match a file "home.html" whose short name is "home~1.htm". If you want it to match the short version of the file name as well, set "p1" to 1.

 

Returns the previous setting.

See Also:

FileItemize, FileItemPath, FileMapName