cmd cd to d drive code example Example 1: windows cd to another drive cd /D F:\path Example 2: cd command windows cd <folder>