我看了fileSystem Object 好象都没有提供清空的方法啊

解决方案 »

  1.   

    以前回答过一个Open file For Input As #1
    Print #1, "line1"               '写入一行
    Close #1
      

  2.   

    楼上对,删了重建一个不就行了?Kill OldFileName
    Open OldFileName For Output As #1
    Print #1, NewLine               '写入一行
    Close #1
      

  3.   


       我有源代码,要么?留下Email!
      

  4.   

    open "file.txt" for output as #1
    print #1,"this is test!"
    close(1)