'''file exists''' ''name'' Returns '''1''' if file ''name'' exists and the current user has search privileges for the directories leading to it, '''0''' otherwise. ---- '''Q.''' ''What's the difference between '''file exists''' and '''[file isfile]'''?'' '''A.''' '''file exists''' returns true (1) for all existing directories and regular files. '''[file isfile]''' returns true only for existing regular files. ---- See also: * [file] * [file isfile] ---- [Tcl syntax help] - [Category Command] - [Category Introspection]