This one
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='Text;CSVDelimited=True;Hdr=True';Data Source='test;123'"
. . . and this one
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='Text;CSVDelimited=True;Hdr=True';Data Source='.';Password='test;123'"
. . . bomb out with "Format of the initialization string does not conform to the OLE DB specification."
I'll let you figure out on yourself how to pass a folder or a password with a semicolon in the connect string. (Hint: single quotes don't work.)
cheers,
</wqw>