How to change the default path in cmd code example Example: how to change cmd default path %HOMEDRIVE%%HOMEPATH%