<< Zum Inhaltsverzeichnis >> Navigation: OLE Automation > Application > Methods > SpaceObServer.Application.GetIDByPath |
Description
Returns the identifier (ID) for the directory of the passed directory path.
Syntax
GetIDByPath (Path : <String>): <Integer>
Parameters
Path |
The path of the directory to get the identifier (ID) for. |
Return Value
The ID for the directory of the passed directory path.
Example
$SOS.GetIDByPath("C:\Windows\system32") #PowerShell
SOS.GetIDByPath "C:\Windows\system32" 'VBS
Queries the identifier (ID) for the path "C:\Windows\system32".