I am trying to import an sql file through the commmand line in Windows 7 with no luck. I know there are other questions on here that deal with this but NOTHING in any of the answers has helped me.
The file is too large for a PHPMyAdmin import. It is a 500mb post code file.
I have tried various different methods to connect and/or import:
C:\xampp\mysql\bin\mysql.exe -uroot –padmin postcodetest < C:\fullukpostcodes.sql
C:\xampp\mysql\bin\mysql –uroot –padmin postcodetest < C:\fullukpostcodes.sql
mysql> use postcodetest;
mysql> source C:\fullukpostcodes.sql;
Nothing is working. All that is happening is that I am getting a dump of some file (maybe PHP.ini).

Please help. What am I doing wrong?
mysql –u root –p admin .....This might be different on MS-Windows compared to all other systems, but give it a try.