| 发表于:2007-07-26 15:58:252楼 得分:10 |
private sub command1_click() mkdirfun "f:\123\456\789\xyz\opq " end sub private sub mkdirfun(byval spath) dim s as string, x() as string dim i as long x = split(spath, "\ ") s = x(0) for i = 1 to ubound(x) s = s & "\ " & x(i) if dir(s, vbdirectory) = " " then mkdir s end if next end sub | | |
|