Notices

Overclockers Forums > Software > Microsoft Operating Systems
Microsoft Operating Systems Microsoft Operating Systems and Applications
Forum Jump

How do I bulk remove characters from file names?

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 01-10-07, 12:44 AM Thread Starter   #1
eaglescouter
Frustrating Senior SETI Nut!

 
eaglescouter's Avatar 

Join Date: Dec 2002
Location: CA- Not far from the Allen SETI array

10 Year Badge
 
How do I bulk remove characters from file names?


She (not mine) scanned hundreds of documents into the computer (actually about 800), and gave them really pretty names. Multiple periods, commas, &, #.

Now these files need to be dropped into a SharePoint companyweb, where these are not acceptable characters.

I'm looking for a script/tool/utility that will strip out the illegal characters.

A bulk rename will not work as the file names and document names are critical (just want to strip out the following "& # , . " leaving the extension period naturally

Any ideas?

Windows XP is the OS.

__________________

#4 in the 20 Million SETI Club
Top 4 Producer for BOINC Seti Many GHz of Seti Crunching Power!
Number 18 Seti Classic Cruncher

Member of the Phase Cooled 6Ghz Club
[SG] Halo Custom Edition Clan Leader
eaglescouter is offline SETI Profile   QUOTE Thanks
Old 01-10-07, 02:33 AM   #2
jivetrky
Member

 
jivetrky's Avatar 

Join Date: Oct 2005
Location: Lake Village, IN 46349

 
Quote:
Originally Posted by eaglescouter
She (not mine) scanned hundreds of documents into the computer (actually about 800), and gave them really pretty names. Multiple periods, commas, &, #.

Now these files need to be dropped into a SharePoint companyweb, where these are not acceptable characters.

I'm looking for a script/tool/utility that will strip out the illegal characters.

A bulk rename will not work as the file names and document names are critical (just want to strip out the following "& # , . " leaving the extension period naturally

Any ideas?

Windows XP is the OS.

I use this program for all my batch renaming:

http://www.1-4a.com/rename/

It'll do what you are looking to do, it's quite powerful, just take a little time and get used to it.

__________________
PLEASE MOVE YOUR CLASSIFIED AD TO SOLD ONCE IT HAS COMPLETED (Click here to learn how)

2x HTPCs / 3x Desktops / 1x 10TB UnRAID Server

[--------------HEATWARE: jivetrky --------------|-------------- GAMING NICK: jivetrky--------------]

"With every upgrade I become less clever." -Socket eh?¯\(º_o)/¯
jivetrky is offline   QUOTE Thanks
Old 01-11-07, 12:01 AM Thread Starter   #3
eaglescouter
Frustrating Senior SETI Nut!

 
eaglescouter's Avatar 

Join Date: Dec 2002
Location: CA- Not far from the Allen SETI array

10 Year Badge
 
Quote:
Originally Posted by jivetrky
I use this program for all my batch renaming:

http://www.1-4a.com/rename/

It'll do what you are looking to do, it's quite powerful, just take a little time and get used to it.
That did part of the job.

Remaining: Removal of inappropriate periods in file names such as "ltr.toclientsept.05.doc" Your suggested tool does not handle illegal file names.

__________________

#4 in the 20 Million SETI Club
Top 4 Producer for BOINC Seti Many GHz of Seti Crunching Power!
Number 18 Seti Classic Cruncher

Member of the Phase Cooled 6Ghz Club
[SG] Halo Custom Edition Clan Leader
eaglescouter is offline SETI Profile   QUOTE Thanks
Old 01-11-07, 12:29 AM   #4
jivetrky
Member

 
jivetrky's Avatar 

Join Date: Oct 2005
Location: Lake Village, IN 46349

 
if you use the Replace option, just put each character in and then leave the second field blank or add a single space.

This also works for the .'s ...it will remove all but the last one


EDIT: The program really can do alot. Sometimes I have to sit there for a few minutes to figure out how to properly manipulate it, but in the end I've never not been able to rename a file how I wanted.

__________________
PLEASE MOVE YOUR CLASSIFIED AD TO SOLD ONCE IT HAS COMPLETED (Click here to learn how)

2x HTPCs / 3x Desktops / 1x 10TB UnRAID Server

[--------------HEATWARE: jivetrky --------------|-------------- GAMING NICK: jivetrky--------------]

"With every upgrade I become less clever." -Socket eh?¯\(º_o)/¯
jivetrky is offline   QUOTE Thanks
Old 01-11-07, 09:36 AM Thread Starter   #5
eaglescouter
Frustrating Senior SETI Nut!

 
eaglescouter's Avatar 

Join Date: Dec 2002
Location: CA- Not far from the Allen SETI array

10 Year Badge
 
Interesting, I took another run at it and your tool did in fact rename the files with multiple periods in them.

I'm still working to rename folders, but you have saved countless hours of labor.

__________________

#4 in the 20 Million SETI Club
Top 4 Producer for BOINC Seti Many GHz of Seti Crunching Power!
Number 18 Seti Classic Cruncher

Member of the Phase Cooled 6Ghz Club
[SG] Halo Custom Edition Clan Leader
eaglescouter is offline SETI Profile   QUOTE Thanks
Old 01-11-07, 12:34 PM   #6
jivetrky
Member

 
jivetrky's Avatar 

Join Date: Oct 2005
Location: Lake Village, IN 46349

 
ahhh, well in that case...

I had an issue with directories too. While I like that first program for file renaming (Even though it has a bit of a learning curve), it doesn't do directories.


But this program does directories, I just tested it with a small batch of directories that had &, #, and .'s And it removed them all:

http://www.den4b.com/downloads.php?project=ReNamer

__________________
PLEASE MOVE YOUR CLASSIFIED AD TO SOLD ONCE IT HAS COMPLETED (Click here to learn how)

2x HTPCs / 3x Desktops / 1x 10TB UnRAID Server

[--------------HEATWARE: jivetrky --------------|-------------- GAMING NICK: jivetrky--------------]

"With every upgrade I become less clever." -Socket eh?¯\(º_o)/¯
jivetrky is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Microsoft Operating Systems
Microsoft Operating Systems Microsoft Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 09:38 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?