有个目录test
我使用
if exist c:\test echo 111
发现打不出来111
用if exist c:\test\*.* echo 111
也打不出来111
然后我往c:\test里放入一个文件,
然后再if exist c:\test\*.* echo 111
发现111打出来了
是不是if exist无法判断目录?
我使用
if exist c:\test echo 111
发现打不出来111
用if exist c:\test\*.* echo 111
也打不出来111
然后我往c:\test里放入一个文件,
然后再if exist c:\test\*.* echo 111
发现111打出来了
是不是if exist无法判断目录?
