Replace or remove the single tic character

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

Replace or remove the single tic character

Postby bucrepus » Wed Apr 13, 2022 8:21 pm

Using the command line utility... Tried 32 and 64 bit version on Windows

How to remove the ' char (apostrophe char / single tic) or at least replace it with something else....
I have tried dozen of variations including..
/REMOVECHARS:'
/REMOVECHARS:%'
/REMOVECHARS:/'
/REMOVECHARS:'\'
/REPLACECI:':_
/REPLACECI:':_
/STRIPSYMBOLS

None work.
It just says FILENAME .... requires no changes.
I have tested the same commands on other characters and BR works.. It's just the apostrophe char / single tick char I can't get rid of..

Thanks for your time...
bucrepus
 
Posts: 2
Joined: Wed Apr 13, 2022 8:11 pm

Re: Replace or remove the single tic character

Postby therube » Thu Apr 14, 2022 3:57 pm

It may depend on your filename(s) & your usage of wildcard characters?

This works:
Code: Select all
C:\brc>BRC32.exe   /DIR:.   /PATTERN:*  /REMOVECHARS:'


Code: Select all
04/14/2022  10:52 AM    <DIR>          .
06/03/2008  01:37 PM           281,088 BRC32.exe
06/05/2008  05:19 PM            13,371 BRCChangelog.pdf
06/03/2008  01:10 PM           155,813 BRC_Manual.pdf
04/14/2022  10:53 AM               735 GO.BAT
04/14/2022  10:52 AM                 0 test'ing


Code: Select all
Processing Folder .\
Filename BRC32.exe requires no changes
Filename BRC_Manual.pdf requires no changes
Filename BRCChangelog.pdf requires no changes
Filename GO.BAT requires no changes

Filename test'ing would be renamed to testing
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Replace or remove the single tic character

Postby bucrepus » Thu Apr 14, 2022 6:25 pm

That seemed to work. It appears my issue is that some of the files have the SYSTEM attribute on. The files that have READONLY or HIDDEN seem to work with the command line version when the /INCLR and INCLH switches are used.. The SYSTEM switch /INCHS (listed in the PDF) manual was unrecognized so I kept getting an invalid parameter error. It looks like a typo in the manual so I tried /INCLS and now it works correctly. Thanks for the response
bucrepus
 
Posts: 2
Joined: Wed Apr 13, 2022 8:11 pm


Return to BRU Support