Using CMD I need to deleted thousands of files that do not have an extension and are within certain time frame 5 years >files to be deleted>30 days. I can try to use PowerShell. I have tried:
forfiles /m *. /d -30 /C "cmd /c rename @file @fname.xyz"
del /S *.xyz
but because there are other files with .txt extension that are older than 30 days (which I need to keep) it does not work the way I need it to work