- Код: Выделить всё
Dim fso As New Scripting.FileSystemObject
Dim st As New ADODB.Stream
Dim fl As File
st.Type = adTypeText
st.Open
For Each fl In fso.GetFolder("C:\xxx").Files
st.Flush
st.LoadFromFile fl.Path
st.Charset = "utf-8"
st.SaveToFile "C:\xxx\1\" & fl.Name
Next