by brana » Mon Oct 05, 2015 2:36 pm
Thanks for the reply.
Actually I wanted to count the number of folders that are renamed and number of files that are renamed.
Like: Total Folders renamed = 1, Total Files renamed = 2
I am using 32 bit BRC command. Here is my scenario:
C:\>BRC32 /DIR:"C:\TestFolder" /STRIPSYMBOLS /NODUP /EXECUTE
When I run this command the I get output like this:
Processing Folder C:\TestFolder\
Filename TestFolder requires no change
Filename BRC_Unicode_64.zip renamed to BRCUnicode64.zip
Processing Folder C:\TestFolder\Microsoft.Bcl.1.1.7\
Filename Microsoft.Bcl.1.1.7 renamed to MicrosoftBcl11.7
Filename ABC - Text.pptx renamed to ABC Test.pptx
Filename TestDB.pptx requires no changes
Here, Microsoft.Bcl.1.1.7 is renamed, so total folders renamed = 1.
and BRC_Unicode_64.zip and ABC - Text.pptx are renamed, so total files renamed = 2.
Note that the output says Filename for folders also. I hope this makes sense.