💾 Archived View for uhc.driar.se › help › ModifyPath captured on 2021-11-30 at 20:18:30.

View Raw

More Information

-=-=-=-=-=-=-

ModifyPath - Modify a path in different ways and the print the result. The
             modification could for example be to remove the path part, or
             extracting the extension only. Useful for scripting.

Usage: ModifyPath PATH/A,NOPATHPART/S,NOFILEPART/S,NOEXTENSION/S,ADDSLASH/S

PATH         The path to modify.
NOPATHPART   Modify it to have no path part.
NOFILEPART   Modify it to have no file part.
NOEXTENSION  Modify it to have no extension.
ADDSLASH     Add a trailing slash if required to make sure it is not treated as
             a file.