Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有示例代码的shell脚本,如下所示..我正在尝试转换为.cmd文件..任何人都可以提供关于文件中while和case的语法是什么的输入.cmd吗?
.cmd
while getopts "c" flag do # In case clear option case $flag in c) code exit ;; esac done
您应该参考 Microsoft 的文档。