asp生成文本文件函數

function CreateHtml(mCode,mFilePath)
  dim objFSO,objFile
  set objFSO = server.CreateObject("Scripting.FileSystemObject")
  set objFile = objFSO.CreateTextFile(mFilePath,true)
  objFile.WriteLine mCode
  objFile.close
  set objFile = nothing
  set objFSO = nothing
end function 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章