Windows Batch File to Find String in Filename -
how can find string in filename using windows batch command. systems generated files has dates in file name "xxx_2014-04-11_v1.xml", want read file name verify date before performing other operation. how can achieved?
something this:
for /f "delims=_ tokens=2" %%a in ('echo "xxx_2014-04-11_v1.xml"') echo %%a
Comments
Post a Comment