首页 > 解决方案 > how to stop listing directories in powershell after you've entered dir -r?

问题描述

i was trying to list the directories of my user but i didn't realize my current working directory was in c:/ and when i entered dir -r, powershell started to list every single directory on my drive! It's been going on for a long time now. How do i stop it?

标签: powershell

解决方案


Use Ctrl + C to stop commands.

You can also simply close the PowerShell prompt window.


推荐阅读