Spaces in folder file name

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

Spaces in folder file name

Postby Prostoy86 » Mon Feb 19, 2024 9:58 am

No renaming if the file or folder name contains a space. :( Please tell me what needs to be done to solve the problem?

Example:
"C:\Path\BRC.exe" /Dir:"C:\Users\User\Desktop" /Pattern:"Dir 1" /NoFiles /FIXEDNAME:"Name" /NODUP /Execute
Prostoy86
 
Posts: 4
Joined: Thu Feb 15, 2024 8:19 pm

Spaces in name

Postby Luuk » Mon Feb 19, 2024 1:58 pm

/Pattern wont accept spaces as name-characters, so /Pattern:"Dir 1" only matches Dir or 1.
Could try using /Pattern:"Dir?1" but remember this can also match names like Dir21 or Dir-1.
If spaces must be matched, can use /RegExp without rename-parameters like /FixedName...

"C:\Path\BRC.exe" /Dir:"C:\Users\User\Desktop" /Pattern:"Dir?1" /NoFiles /RegExp:"^Dir 1$:Name" /NoDup /Execute
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: Spaces in name

Postby Prostoy86 » Mon Feb 19, 2024 2:49 pm

[quote="Luuk"]

Thank you Brother! May God grant you long life!
From Russia with Love!
Prostoy86
 
Posts: 4
Joined: Thu Feb 15, 2024 8:19 pm


Return to BRC Support


cron