JSON script file location on hard drive

Hi - I've recently SSD issues and needed to rebuild my PC. I can access the files on my old SSD but not boot from it. Where can I find my JSON script file to copy over to my new HW to avoid needing to rewrite the script. Thanks in advance!