@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: