Other Resources:
Parsing directory name and size from Windows "dir" command
How to write a regular expression to parse directory name and total file size from the output of Windows "dir" command?
Here is an example output of the "dir" command:
✍: FYIcenter.com
![]()
Here is a regular expression to parse file entries from output of the "dir" command on Windows systems: Note that:
Directory of ([^\r\n]+) - capture the directory name File\(s\)\s+([^\r\n]+) - capture the total file size
2013-02-01, 0👍, 0💬
Popular Posts:
Are you having problems using regular expressions when processing text strings in your applications ...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...
How to capture the Soso Spider entries from Web log file? Here are some Web log file entries: 127.0....
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...