batch file - dated dir structure, multi depth -


i new here, neither programmer or computer professional

i amateur photographer , create folder structure photos below , use bat file automate every new shoot.

2013-21-31_enter photo shoot info manually
2013-21-31_info above/2013-21-31_info above_jpg
2013-21-31_info above/2013-21-31_info above_tif
2013-21-31_info above/2013-21-31_info above_raw
2013-21-31_info above/2013-21-31_info above_bw
2013-21-31_info above/2013-21-31_info above_rejects

i appreciate help,

dettki

give whirl: if don't want current date date enter remove rem below.

@echo off /f "delims=" %%a in ('wmic os localdatetime  ^| find "."') set "dt=%%a" set "yyyy=%dt:~0,4%" set "mm=%dt:~4,2%" set "dd=%dt:~6,2%" set "hh=%dt:~8,2%" set "min=%dt:~10,2%" set "sec=%dt:~12,2%"  set datestamp=%yyyy%-%mm%-%dd% rem set /p "datestamp=enter date in yyyy-mm-dd format: " set /p "var=enter description: "  %%a in (jpg tif raw bw rejects) md "%datestamp%_%var%\%datestamp%_%var%_%%a"  pause 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -