dim ws
dim str1
dim str2
dim source
dim destination
dim arr1
dim arr2
str1=inputbox("请输入想要复制文件夹结构的源目录","目录结构复制器")
str2=inputbox("请输入想要复制文件夹结构的源目录","目录结构复制器")
arr1=split(str1,"")
arr2=split(str2,"")
for each one in arr1
path=path&one
next
for each one in arr2
destination=destination&one
next
set ws=Wscript.CreateObject("wscript.shell")
command="cmd /c xcopy /t /e " &""&source&""&destination
ws.run command,,true