Determines if the path points to a system folder.

Syntax

IsSystemFolder = SRP_Path("IsSystemFolder", Path)

Parameters

ParameterDescription
PathA path without command line parameters.

Returns

1 If the path points to a folder with the System attribute.

Remarks

The IsSystemFolder service determines if the path points to a folder with the System attribute. These are folder that appear dimmed in Windows Explorer. Folders that are not dimmed, never return 1 with this call. For example, C:\Windows is not a system folder. It contains critical system files, for certain, but the folder does not have the System attribute.

Example

Result1 = SRP_Path("IsSystemFolder", "C:\Windows")
Result2 = SRP_Path("IsSystemFolder", "C:\Users\Johnny Appleseed\AppData")

Result1 will be 0. Result2 will be 1.

See Also

IsDirectory, IsDirectoryEmpty, IsNetworkPath, IsRelative, IsRoot, IsSameRoot, IsUNC, IsURL

  • No labels