how to change cmd default path to external drive code example Example: how to change cmd default path %HOMEDRIVE%%HOMEPATH%