LYCZ007

vbs判断目录是否存在

1 Dim fso
2 Set fso=CreateObject("Scripting.FileSystemObject")        
3 If fso.folderExists("C:\\Program Files (x86)") Then         
4         msgbox "ok"
5 Else 
6         msgbox "not ok"
7 End If

 

posted on 2020-05-21 11:41  LYCZ007  阅读(412)  评论(0编辑  收藏  举报

导航