The command I am executing is forfiles -p"C:\testdata" -m*.* -d-1 -c"cmd /c echo @PATH\@FILE"
I have specified that I wish to only list
files that are a day old however when I execute the statement, it returns me a list of
files that were created today.
Why is that? Am I doing something wrong? Would it be better to specify a time period as opposed to a date e.g. 24 hours?
The version of forfiles I have reads as follows FORFILES v 1.1 -
[email protected] - 4/98. The batch file is being run on Windows XP.