G
Guest
I've been trying to do generate a list of file names with dates that contain
a specific string. Can anyone help with this please. Below is what I came up
with but I don't know this will truely give me all files that contain the
string "EC1_FRP_UT" and the data it was created. The other bad thing here is
that each time the file name is passed to dir, to gives the directory heading
info as well.
K:\Official> FOR %f in (*.*) DO findstr /M "EC1_FRP_UT" *.* | dir %f >>
myfile.txt
Thanks in advance
Hal
a specific string. Can anyone help with this please. Below is what I came up
with but I don't know this will truely give me all files that contain the
string "EC1_FRP_UT" and the data it was created. The other bad thing here is
that each time the file name is passed to dir, to gives the directory heading
info as well.
K:\Official> FOR %f in (*.*) DO findstr /M "EC1_FRP_UT" *.* | dir %f >>
myfile.txt
Thanks in advance
Hal