生成路径递归

vbscript
阅读 47 收藏 0 点赞 0 评论 0

GeneratePath.vbs
Function GeneratePath(pFolderPath)
	GeneratePath = False
	If Not objFSO.FolderExists(pFolderPath) Then
		If GeneratePath(objFSO.GetParentFolderName(pFolderPath)) Then
			GeneratePath = True
			Call objFSO.CreateFolder(pFolderPath)
		End If
	Else
		GeneratePath = True
	End If
End Function
评论列表


问题


面经


文章

微信
公众号

扫码关注公众号