PDA

View Full Version : free RAW program, safe to use...


Benny Pedersen
March 6th, 2007, 06:47 PM
Hi

Below is a brief version of my new large XMP thing (not uploaded).
Copy and paste it into a file, name it with an extension CMD,
e.x.: "RAW2PSE.CMD" on the desktop.
Drag and drop RAW file(s) onto the shortcut, so
all what it does is that it open the RAW files in PSE
with an XMP file...

Benny,
PS.: Safe to use... :)


@echo off& set Raw=.CR2
for %%A in ("%programfiles%\Adobe\Photoshop Elements") do (
if "%~1" neq "%%~A" (
for /L %%X in (6,-1,3) do (
if exist "%%~A %%X.0\PhotoshopElementsEditor.exe" (
title=%Raw% with XMP to PSE%%X
"%~f0" "%%~A" "%%X.0\PhotoshopElementsEditor" %*
exit
))
echo Not found %%~A ...& pause& exit
)
if "%~3"=="" (
echo Fail: File not found.
echo Tips: Try drag and drop your file^(s^) instead.& pause
)
for %%F in (%*) do (echo.
if "%%~xF" neq "" (
if /i %%~xF equ %Raw% (
type nul >> "%%~dpnF.XMP"
start "" "%~1 %~2.exe" "%%~fF"
) else (echo Fail: Raw is set "%Raw%", not "%%~xF"
echo Tips: See line num 1, "%~nx0"& echo.& pause
))))