文件夹目录生成.bat

软件技巧 2018-09-14 阅读: 16


本文由 admin 创作,采用 知识共享署名 3.0,可自由转载、引用,但需署名作者且注明文章出处。

只有地板了

  1. admin
    admin

    If you are using Powershell as a shell (and not as a script processor), you can simply type:
    在powershell里要这么用
    cmd /r dir /s /b

    The /r flag tells cmd.exe to run the command and exit. In other words, you'll end at the same execution context.

    For many commands, cmd /r is better than dealing with Powershell object-oriented architecture.

添加新评论