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