Try going to Settings > General and change the site URL
http://codex.wordpress.org/Movin…
check the database for links to the old directory if you can't login. Usually they are in the wp_options table
Thanks guys, sorted it :)