i need to write a bat file which can give me the last names of files in a network folder.The names has the specific pattern.simmilar to this pattern.
Deepak.DEMO.yyyymmdd mcapatna.POWERHOUSE.yyyymmdd where Deepak.DEMO & mcapatna.POWERHOUSE are fixed but yyyymmdd is variable depends on the year month & date.
- I have to find this
yyyymmddusing batch programming & - if possible than compare it with current date.if it is today date then proceed further otherwise move these file to different folder. I tried a lot but i am unable to do it.could someone please help me.
dir /b *.<yyyymmdd>command. Check the/bswitch atdir /?.