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

@CURDIR

Windows Linux macOS

Syntax

@CURDIR(<drive letter>)

Description

This function returns the current directory of the specified drive. If no drive letter is specified, the function returns the current directory of the current default drive.

OK

Unchanged.

Example

%C = @CURDIR()
REM %C now holds the current directory
%D = @CURDIR(D)
REM %D now holds the current directory of drive D:

See also