get current directory cmd code example Example: open current dir cmd start . or explorer . ("." is a shortcut for current director)