GETCWD Subroutine
Usage:
d = GETCWD([d:path])
Description:
Gets the current working directory of the given drive in path or the current drive if no drive letter provided. This function returns an empty string on error.