I used to run Steam on an external drive mapped as the I: drive, and then I got a new computer and transferred my games to a secondary internal drive mapped as the D: drive. The external drive no longer works and has been disconnected.
I'm trying to play Call of Duty: Black Ops (1) that was successfully moved to the D: drive (and worked after the I: drive malfunctioned) but Steam is insisting on referencing the I: drive. When I check to see what folder Steam is getting the game from, it shows the D: drive, but when I try run the game it fails because it can't find the game's executable on the I: drive:
Failure
An error occurred while updating Call of Duty: Black Ops - Multiplayer (disk write error) : i:\steam\steam\steamapps\common\call of duty black ops
If I verify the integrity of the game folder, it comes back as no file issues, and when I go onto the Storage Manager, there's the game's .exe, clear as day, in the frikken D: drive, yet this useless garbage will keep trying the I: drive.
I can't reconnect the I: drive, due to it no longer working, and therefore cannot move anything from there to the D: drive. If I try run the executable from the D: drive directly, literally nothing happens (nothing in the Task Manager pops up for even a moment, no error messages, nothing).
All I want to do now is just point Steam to the correct location—however, I cannot find a way to do that without having to plug in the broken external drive.
How can I go about correcting this issue?

diskmgmt.msc) or the command-line tooldiskpartto change the drive letter to I is a last resort option. – gparyani Oct 09 '23 at 06:43