Saved Bookmarks
| 1. |
Solve : Listing log file in dd_mm_yy.txt format? |
|
Answer» HI everyone, I want to list log files whose names are changing daily. Like that; C:\log\dd_mm_yy.txt "dd_mm_yy.txt" is changing daily. What kind of a definition I must use in Windows command prompt to list the log file ? Could you PLEASE help me about how can I solve that problem? Best Regards Murat Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. Quote C:\Users\Dave>dir/? Dir /o *.txt Will list the log files that are saved as text files in numeric/alpha order. You can use sort order to list differently. Code: [Select]C:\log>dir /a-d /b | findstr /R /C:"[0-9][0-9]_[0-9][0-9]_[0-9][0-9].txt" 07_05_14.txt 08_05_14.txt 09_05_14.txt |
|