G
Guest
Hello to all,
I need help with the following please.
[OS = XP Pro]
I want to print to file, a list of files in a specific directory that
contain a certain string. This listing must also include the date of said
file.
I'm able to create the list of files with FINDSTR /M
[[drive:][path]filename]. This returns all the fiile names which meet the
criteria but FINDSTR does not return the date of the file, which I also need.
I thought I may be able to use the FOR and or DIR commands in conjunction
with FINDSTR and pipe this to a text file. I've been reading the help file on
FOR but it is not clear to me how to use the results from FINDSTR as an input
variable.
Any help in setting me on the correct path to solving this is greatly
appreciated.
Regards,
Hal
Michigan, USA
I need help with the following please.
[OS = XP Pro]
I want to print to file, a list of files in a specific directory that
contain a certain string. This listing must also include the date of said
file.
I'm able to create the list of files with FINDSTR /M
[[drive:][path]filename]. This returns all the fiile names which meet the
criteria but FINDSTR does not return the date of the file, which I also need.
I thought I may be able to use the FOR and or DIR commands in conjunction
with FINDSTR and pipe this to a text file. I've been reading the help file on
FOR but it is not clear to me how to use the results from FINDSTR as an input
variable.
Any help in setting me on the correct path to solving this is greatly
appreciated.
Regards,
Hal
Michigan, USA