it works with the correct "date created", but i must copy all files to another location an there changed the created time.
Would it be possible than the batch can the "date modified" time used? This time are not changed on copy......
Thanks for help
Search found 2 matches
Search found 2 matches • Page 1 of 1
- 27 Jan 2019 10:53
- Forum: DOS Batch Forum
- Topic: delete files in Folder with version-stamp
- Replies: 4
- Views: 1000
Hi I need a batch file for delete of many files with a version-stamp. I have found a Code for the newest file in a folder, but i dont now rebuild it. @echo off & setlocal set "MySearchString=_" for /r %%a in (*) do for /f "delims=" %%i in ('echo("%%~na" ^| findstr /i "%MySearchString%"') do del "%%~...