the command is dumpwallet you can use it from the terminal and you must give it a full path, e.g.
dumpwallet c:\mykeys.txt
If you have set a password you need to unlock the wallet first. The below command will unlock it for 60 seconds.
walletpassphrase PASSWORD 60
They will be exported unencrypted(!) so be careful.
But this command give me all 100 addresses not only this which consist bitcoins.