Q:

wordpress not accessing wp-admin because of htaccess

Im new to wordpress i changed my site path from:
localhost/site/

to: 
localhost/site/home/

now i cant access the files and wp-admin to undo that. Which file should i modify to fix my site? 

A:

Assuming you have access to the database you can update the wp_options table amending the rows where the option_names are "siteurl" and "home". 
If you can't amend those then you can add these to your wp-config file (setting the relevant paths):
define('WP_HOME','http://yourdomain.com');
define('WP_SITEURL','http://yourdomain.com');

