HDD change: Filepaths wrong

I recently replaced my HDD with some success, however, I need to update the filepaths for all of my programs as I combined my drive F and my drive G into new drive Q.
Does anyone have a way to do this?

Just stumbled upon windows disc checker, I will give that a try
EDIT: Disc checker did not help. Any Ideas?

I think you're going to have to manually change the paths.

What a terrifying prospect., 1TB is a lot to go through.

Might find some software that will do it for you if you search around.

I have had no luck with that so far.

Have you tried using the subst command to alias your old drive letters to your new one?

Its been years since I have used it, and I cant recall if it persists after a reboot; but you could easily script it if needed.

I had no idea that that existed. I will give it a try, Thank you.
Edit: I do not think that I will be able to use that

Assuming your f: & g: drives no longer exist won't the following command will give you what you need?

Subst f: q:\
Subst g: q:\

I just tested this under Win8.1 and it still works how I remember - you can even alias aliased drives e.g.

subst f: d:\games
subst g: f:\

now both f: and g: map to my d:\ games folder.

Ah, I was imputing Subst Q: G:\
It seems to have worked. Thanks!
I wonder if there is any way to get the icons back for the programs.

Not sure about your icons, you probably need to create new shortcuts? If the icons already are shortcuts once the mapping is in place they should just work.

Also just a thought. You could make mew perm mappings with a registry entry, something like the following command should map F: to Q:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v F: /t REG_SZ /d "\??\Q:\" /f