@PATH
Windows ✓Linux ✓macOS ⏳
Syntax
@PATH(<string>)
Description
This function returns the path portion (up to and including the final colon or backslash) of a path (or URL [VDS6]) specified in <string>.
OK
Unchanged.
Example
%P = @PATH(C:\WINDOWS\WIN.INI)
REM %P now contains C:\WINDOWS