Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- mode con:cols=100 lines=75
- set PATH=%PATH%;c:\users\shane\bin
- set DNGC="C:\Program Files (x86)\Adobe\Adobe DNG Converter.exe"
- set OPTS=-c -fl
- set DNGFOLDER=C:\Users\shane\Pictures\dng
- echo Current Directory is %cd%
- echo Current batch run is %0 %~dpnx0
- echo Subject is %1 %~dpnx1
- echo Folder name is %~n1
- if not exist "%DNGFOLDER%\%~n1" mkdir "%DNGFOLDER%\%~n1"
- for /r %1 %%a in (*.CR2) do (
- echo Converting: "%%a"
- %DNGC% %OPTS% "%%~a"
- move "%%~dpna.dng" "%DNGFOLDER%\%~n1"
- )
- echo Conversion Complete
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement