GOTO comment The following command runs the photoshop javascript file "photoshop_registration_all_sites.jsx" that is in this directory. You may need to change the photoshop version (year) in the command below to your version E.g. "\Adobe Photoshop 2022\" may need to be "\Adobe Photoshop 2021\" :comment "C:\Program Files\Adobe\Adobe Photoshop 2022\Photoshop.exe" -r "%~dp0photoshop_registration_all_sites.jsx"