Where are the paths for all the database files stored in SQL? eg: paths for mdf,ldf files for TempDB, and other databases.
I need to find out the file that contains all the paths. I have by mistake changed the TempDB path and I am not able to login into SQL to change it. I need to restore the SQL to previous working state. So I need to know which file to replace inorder to get the correct paths back.
