I have created some automation and I format my computer often and would like to know where are the scripts that I have created to back them up.
Scripts are stored in the Scripts folder which can be found in the CS2 app folder.
Choose Program Files > Photoshop > Photoshop CS2 > Presets > Scripts.
By placing your scripts here, they will display in the menu bar for easy accessibility. The truth is you can save your scripts in any location you want. To retrieve your scripts, Choose File > Scripts > Browse and browse to the custom directory of your choice.