With Access 2002, I fail to escape the ] character in a database path in a query like this :
SELECT * FROM [MS Access;DATABASE=D:\bd].mdb;].[MYTABLE];
What I've tried and doesn't work :
SELECT * FROM ["MS Access;DATABASE=D:\bd].mdb;"].[MYTABLE];
SELECT * FROM [MS Access;"DATABASE=D:\bd].mdb";].[MYTABLE];
I didn't found anything in msdn documentation about escaping path : http://msdn.microsoft.com/en-us/library/office/ff194542.aspx
(I don't want to use link tables because the query is in fact to export data to excel or another db like SELECT * INTO [text;database=d:\;HDR=Yes].[csvfile.csv] FROM MyTable;)