VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@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

See also