Date: Thu, 28 Mar 2024 13:03:57 -0700 (PDT) Message-ID: <781781672.311.1711656237127@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_310_1525243919.1711656237127" ------=_Part_310_1525243919.1711656237127 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Removes everything except the last component of a path.
NewPath =3D SRP_Pa= th("RemoveDirectory", Path)
Parameter | Description |
---|---|
Path | A path with or without command line parameters.<= /td> |
The path without the directory.
The RemoveDirectory service returns the= given path without the directory. Thus, it returns only the filename and e= xtension. Quotes are preserved.
Note. This metho= d supports paths that contain command line parameters. In this case, comman= d line parameters are returned along with the filename and extension.
Path =3D "C:\path1= \path2\path3\filename.txt" Result =3D SRP_Path("RemoveDirectory", Path)
Result will be "filename.txt".
GetDirectory= . RemoveBac= kslash, Remo= veExtension, = RemoveFilename, RemoveParameters