TRY THIS

exp userid=wms/ace123win0@wms file=c:\test.dmp tables=product_location query=\'where customer_code = 'RE001'\"

Hope this will work
Shailendra