文件對象FSO的引用(整理)

    Dim Fo As Object

    Set Fo = CreateObject("Scripting.FileSystemObject")

If Not fo.FolderExists("C:/Kt") Then

       fo.CreateFolder "C:/Kt"

    End If

    fo.CopyFile "kk.exe", "c:/kt/kk.exe", True

   

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章