我正在尝试使用test命令,但它并不存在于我的系统中(Windows 8)。
test -d $(build)我怎么安装它?
发布于 2014-03-06 12:30:01
@echo off
IF exist myDirName ( echo myDirName exists ) ELSE ( mkdir myDirName && echo myDirName created)源=> Here
发布于 2014-03-06 12:53:44
在PowerShell中,可以使用Test-Path cmdlet检查文件夹是否存在:
Test-Path -PathType Container -LiteralPath 'C:\some\folder'https://stackoverflow.com/questions/22224486
复制相似问题