Move camera images to desktop
REM Handy little batch script to move auction images from a digital camera REM card to the desktop. It takes care of deleting CR2:s, whose in this case REM are not needed. It also starts Fotosizer using exec command. REM The exec command can be found in the Files section, put it in WINDOWS directory. REM REM Copy contents of the script into a file named camfix.bat. REM REM Put it in the WINDOWS directory and make a shortcut REM of it on the desktop or anywhere you like REM REM Also make sure that the paths match your camera, this is currently for a Canon. REM Do also check local paths so they match. REM @echo off echo Checking JPG:s G: cd \ cd DCIM IF NOT EXIST 103CANON ( echo PANIC, no 103CANON folder. goto :eof ) cd 103CANON IF NOT EXIST *.JPG ( echo PANIC, no JPEG:s goto :eof ) IF EXIST *.CR2 ( echo Deleting CR2:s; DEL *.CR2 ) echo Making destination folder; C: cd \ cd "Documents and settings" CD %USERNAME% CD Desktop IF NOT EXIST Cameraimages ( MKDIR Cameraimages ) G: echo Moving JPG:s move *.JPG "C:\Documents and Settings\%USERNAME%\Desktop\Cameraimages" echo Starting Fotosizer exec "C:\Program\Fotosizer\Fotosizer.exe" :eof
This is a personal note. Last updated: 2013-04-19 18:45:49.