Private Sub Command1_Click()
'工程--->引用--->Microsoft scripting runtime
Dim fsoTest As New FileSystemObject, file1 As File
Set file1 = fsoTest.GetFile("C:\testfile.txt")
MsgBox file1.Size
End Sub
Private Sub Command1_Click()
'工程--->引用--->Microsoft scripting runtime
Dim fsoTest As New FileSystemObject, file1 As File
Set file1 = fsoTest.GetFile("C:\testfile.txt")
MsgBox file1.Size
End Sub