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