Does anyone have a script to make HDRI file paths absolute?

I need a script that will leave all other file paths relative but set HDRI’s to be absolute.

I’m rearranging my project folders and I keep all my HDRI’s on my desktop and all other textures within the relevant project folder.