wmz 发表于 2007-4-3 12:41:00

请教文件拷贝

<div style="FONT-SIZE: 14px;">请教各位大侠:请将这段VB代码改编成Delphi的<br/>Private Sub Command1_Click()<br/>&nbsp; &nbsp;&nbsp;&nbsp;Dim a As String, b As String<br/>&nbsp; &nbsp;&nbsp;&nbsp;Dim f As FileSystemObject<br/>&nbsp; &nbsp;Set f = CreateObject("Scripting.FileSystemObject")<br/>&nbsp; &nbsp;&nbsp;&nbsp;a = "c:\wmz\*.*": b = "c:\wmz1"<br/>&nbsp; &nbsp;&nbsp;&nbsp;f.CopyFile a, b, False<br/>End Sub</div>
页: [1]
查看完整版本: 请教文件拷贝