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