I want to delete any files that are older than a certain, arbitrary date (which date I wish to designate manually in my code).
How can I get the timestamps of the files concerned and compare them with my arbitrary date? I know I can get the timestamps with something like:
for %%f in (./*) do echo %%~tf
...and I can compare strings or numbers with gtr and lss, but I can't very well compare the timestamps as strings (because they'd be compared alphabetically instead of chronologically).