Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Determines if the path points to an existing file or directory.

Syntax

Code Block
Result = SRP_Path("Exists", Path)

Parameters

ParameterDescription
PathA path without command line parameters.

Returns

1 if the path is well formed and points to an actual directory or file.

Remarks

The Exists service informs you if the path is pointing to something valid.

Example

Code Block
Result = SRP_Path("Exists", "C:\Windows")

Hopefully this returns 1, otherwise you have Windows in a weird place or something is seriously broken.

See Also

IsDirectory, IsNetworkPath