AppCtrlScript

MAY Computer

Help

GETPATH

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

String

See also  

GETFULLPATH, GETFILENAME, GETNAMEONLY, GETFILEEXT

Extracts the path without drive or host of the specified full path and filename and stores it in the specified script variable.

Syntax

GETPATH <VariableName>, <Fullname>[, <TruncBacksl>][, <SepChar>] 

Part

Description

<VariableName> Script variable name where to store the path information.
<FullName> Full path and filename.
<TruncBacksl> Optional 0 or 1 if the last trailing backslash should be truncated. If 0 the last backslash (or other path separation character) is kept in the result. Default is 1.
<SepChar> Optional path separation character. Default is "\" (Backslash).