要自定大小写文件名可用API
简单的可用文件系统对象 Scripting.FileSystemObject
如:
oFS = CREATEOBJECT("Scripting.FileSystemObject")
oFS.CopyFile("C:\TEMP\Test\Test.Txt", "C:\TEMP\TEST\TEST1.txt")
oFS.CopyFile("C:\TEMP\Test\Test.Txt", "C:\temp\test\test2.TXT")
结果:
简单的可用文件系统对象 Scripting.FileSystemObject
如:
oFS = CREATEOBJECT("Scripting.FileSystemObject")
oFS.CopyFile("C:\TEMP\Test\Test.Txt", "C:\TEMP\TEST\TEST1.txt")
oFS.CopyFile("C:\TEMP\Test\Test.Txt", "C:\temp\test\test2.TXT")
结果: