_CWD returns the current working directory, in the format d:\pathname. If the current working directory is a root directory, the format is d:\.

 

See also _CWDS, _CWP, _CWPS, @CWD, and @CWDS.