This tool automatically sorts images by orientation — Portrait, Landscape, or Square — and logs the results. It’s designed to streamline workflows like Photoshop batch edits that depend on image layout.
- Double-click
run_sort_images_prompt.bat - When prompted, paste the full path to your source image folder (no quotes)
- The script will:
- Create subfolders:
1200h(portrait),1200w(landscape), andSquare - Move images based on dimensions
- Log results in
image_sort_log.txtinside the source folder
- Create subfolders:
- Press Enter to close the script when finished
If this is your first time running PowerShell scripts, run this command in PowerShell:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned