For more information of the CVAL function click here.
(CVAL('CurrDrv')) returns the current drive. The drive is in X: format with the drive letter followed by a colon.