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