how to redirect command prompt to a folder code example Example: redirect to a folder using cmd pushd d:\windows\movie