convertFileFormat()

Synopsis

Converts a file from one format to another. Note that not all conversions are possible or meaningful.

Syntax

convertFileFormat ( infile As String, _
                    inFormat As Name, _
                    outfile As String, _
                    outFormat As Name ) As Boolean
Argument Type Description
infile String The path to the file to be converted from.
inFormat Name The format of infile; the options are:
  • :ASCII
  • :Unicode
  • :RawBinary
outfile String The path to write the converted file to.
outFormat Name The format of outfile; the options are:
  • :ASCII
  • :Unicode
  • :RawBinary