在cmd或bat批处理文件中如何在批处理中判断文件夹是否存在
复杂带提示写法:
if not exist node_modules (md node_modules&echo 创建文件夹 node_modules) else echo 检查文件夹 node_modules
精简写法:
if not exist node_modules md node_modules
在cmd或bat批处理文件中如何在批处理中判断文件夹是否存在
复杂带提示写法:
if not exist node_modules (md node_modules&echo 创建文件夹 node_modules) else echo 检查文件夹 node_modules
精简写法:
if not exist node_modules md node_modules