Split-Path - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Short description Returns the specified part of a path. Syntax Split-Path [-IsAbsolute] [-Path] <string> [-Credential <PSCredential>] [-LiteralPath <string>] [-Resolve] [-Use Description The Split-Path cmdlet returns only the specified part of a path, such as the parent directory, a child directory, o r a file name. It also can display the items that are referenced by the split path and tell whether the path is rel ative or absolute. You can use this cmdlet to display or submit only a selected part of a path.