/REPLACECI with space [WITH SOLUTION!!]

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

/REPLACECI with space [WITH SOLUTION!!]

Postby audiogalaxy » Thu Aug 20, 2009 5:52 am

hallo, i'm trying the excellent parameter "/REPLACECI" or "/REPLACECS" ... my problem is with the blank character, the ascii (32) char ... the "space" ... for example if i try
Code: Select all
brc /replaceci:-:_

it works perfectly.

but if instead of the minus sign, i want to replace the "space" character, i'll receive

Code: Select all
Unrecognised Replace Syntax:  - Correct syntax is /replaceci:Replace:With
Unrecognised Parameter: :_
Unrecognised Argument: _


error :-(

I've tried this, with regex:

Code: Select all
brc /REGEXP:\s+:_


but a file like
Code: Select all
a file with many spaces.com
would be renamed as
Code: Select all
_.com
and not
Code: Select all
a_file_with_many_spaces.com
as i was expecting ...

... can someone help? :)

UPDATE!

ok, yes, I can!
reading a post in this forum i've unterstand that's possible to use the " character!

so the solution is as follows:

Code: Select all
BRC /TIDYDS /REPLACECI:" ":"_" /nodupe /execute


and this is PERFECT!!!!
audiogalaxy
 
Posts: 23
Joined: Thu Nov 20, 2008 10:56 am

Return to BRC Support