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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -