change disk cmd code example Example 1: windows cd to another drive cd /D F:\path Example 2: change directory cmd cd comment to change directory in the cmd