1.獲取當前文件夾的目錄樹
tree . /f > tree.txt
2.獲取當前文件夾的文件名或文件夾名
/b表示不顯示多與信息
/o:n表示對文件名或文件夾名排序
dir /b /o:n > file.txt
3.重啓資源管理器
taskkill /f /im explorer.exe
start explorer
4.修改hosts文件
notepad C:\Windows\System32\drivers\etc\hosts
tree . /f > tree.txt
/b表示不顯示多與信息
/o:n表示對文件名或文件夾名排序
dir /b /o:n > file.txt
taskkill /f /im explorer.exe
start explorer
notepad C:\Windows\System32\drivers\etc\hosts
<div class="blog-content-box"> <div class="article-header-box"> <div class="article-header"> <