by GMA » Sat Feb 14, 2009 6:39 pm
@tdvargo:
No, not necessarily. For example, you can use it to determine that only the files with a certain extension will be affected. But if you're using the REGEXP switch, then it is the "Match" value that will take care of selecting (thus renaming) only the desired files:
/REGEXP:<Match>:<Replace>
See the example I give to wiml below; in that case I'm using PATTERN to affect only PRF files. But if you don't need (or indeed don't want) to differentiate between file formats, in this case you can skip PATTERN and just leave it to the "REGEXP:Match" value.
@wiml:
A little late, but, if you're still around:
I don't know of such parameter, but this alternative should work just fine:
BRC32.EXE /DIR:C:\temp1 /PATTERN:"*.prf" /REGEXP:([s,S]ome[f,F]ile):\1old /EXECUTE