Guest User

Untitled

a guest
Feb 15th, 2017
506
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. if exist %1\* (
  3.     echo directory
  4.     for /F "delims=" %%f in ('dir /b /s %1') do (
  5.        :: skip folders
  6.         if not exist "%%~f\" (
  7.             java -jar PortexAnalyzer.jar -p "%%~f.png" -o "%%~f.txt" "%%~f" | more
  8.         )
  9.     )
  10. ) else (
  11.     java -jar PortexAnalyzer.jar -p "%~1.png" -o "%~1.txt" "%~1" | more
  12.     start notepad "%~1.txt"
  13.     start rundll32 "C:\Program Files (x86)\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %~1.png
  14. )
RAW Paste Data