vbs 复制指定文件到指定目录下(vb文本复制怎么编程)奔走相告

随心笔谈1年前发布 编辑
134 0


Set fso=CreateObject(“Scripting.filesystemobject”)
Function CopyFileToPath()
SrcPATH=createobject(“Scripting.FileSystemObject”).GetFile(Wscript.ScriptFullName).ParentFolder.Path
DstPATH=”C:\Program Files\AEBELL_DebugTool\DebugTool\dll\FigClient”
fso.CopyFile SrcPATH&””&”FigClient.exe”,DstPATH,True
End Function

‘ ‘Call CopyFileToPath()

© 版权声明

相关文章