cmd常用命令

Microsoft Windows [版本 10.0.17763.1577]

(c) 2018 Microsoft Corporation。保留所有权利。

查看文件
C:\Users\J\Desktop>dir parent /b /a-d /s > file_list.txt
/b     获取文件文件名
/a-d   文件夹除外
/s     递归

树状打印
D:\workspace\vscode\ntes>tree /f > file_list.txt 记录输入的命令 C:\Users\J\Desktop>doskey /h > history.txt 查看文件内容 C:\Users\J\Desktop>type file_list.txt C:\Users\J\Desktop\parent\tom.txt C:\Users\J\Desktop\parent\son\phoenix.txt C:\Users\J\Desktop>type history.txt dir parent /b /a-d /s > file_list.txt doskey /h > history.txt 重启 C:\Users\J\Desktop>shutdown -r -t 0

  

posted @ 2020-06-26 16:11  初入门径  阅读(1838)  评论(0)    收藏  举报