Guide to use BRC with SendTo

Post any Bulk Rename Command support requirements here. Open to all registered users.

Guide to use BRC with SendTo

Postby natong » Thu Nov 24, 2016 3:20 pm

1. BRC can't input as a fully qualified path name.
2. You have to split drive letter + path and use with /DIR
3. You have to split filename + extension and use with /PATTERN
4. For working with multiple files selection and SendTo, we need to loop process one by one.

Here is the example for rename files to title case:
Code: Select all
@echo off

set brc="C:\winutil\Bulk Rename\BRC64.exe"

for %%I in (%*) do (
    %brc% /DIR:"%%~dpI" /PATTERN:"%%~nxI" /IGNOREFOLDERX /CHANGECASE:T /EXECUTE
)

pause


%* = represents all arguments passed to a batch file.
%%I = temporarily parameter variable.
%%~dpI = drive and path of each argument.
%%~nxI = filename and extension of each argument.

Modifiers with batch parameters
https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true
natong
 
Posts: 1
Joined: Thu Nov 24, 2016 12:09 pm

Return to BRC Support