Discussion Locked

\ / : * ? " < > | Again

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need a utility that will replace the characters \ / : * ? " < > | in file names. MY network includes a bunch of Mac's (stop laughing) and the "Creative folks" insist on using these characters in their naming. I must find a way of doing this renameon an NT box that is faster than doing it one at a time. I have to do 3 or 4 hundred a day!

10 replies

by bbuss

We had the same problem and approached it as a social engineering problem rather than a technical one. Get the Mac users to replace the characters themselves. Have a quick meeting, put together a big sign of the "forbidden characters" to hang in each of their workstations, and buy them pizza when they finish.

by tclere

Are these files in one location? I could write a quick VB application that will replace those characters with a space or just remove them all. If you have Word or Excel, I could write this with VBA as well. You can send me more info at tclere@ecodynemrm.com to avoid closing this thread at this time.

by mchamp

do you need this done on the mac side before they come over to nt? it seems to me that this util couldn't run on nt since it would not be able to 'see' these illegal filenames.

if the filenames could be placed in a text file, it is nothing to write a quickbasic program that would re-evaluate the filenames and then create a batch file to rename them all automatically. but it seems that the renaming batch file would have to run on the mac side. i don't know mac's ability to execute a text batch file, or its syntax, but otherwise this is a no brainer. you can email me if you like. championmw@c-b.com

by lo

Hi - Try this, may work
5 solutions:
1) chg all sys to MAC
2) chg all sys to PC
3) util will repe/add char mac->pc->mac
4) char for PC !@#$%()_-+{[}] (more?)
4) If you don't do 1-4, then quit using characters that don't work on all OSes

The'best' solut is 1 that's least $ to your co. In a multi-OS env, OS2, 2k, NT, Win 9x (+ IBM, Linux, UNIX, OpenVMS, etc.) some 'things' just shouldn't be done.

If you can solve the prob in reasonable manner & for a OK $, fine. If not, tell Mac to quit hugging their OS and funct & loosen up. Do they have 'real meaning' in the Mac
world or are they just legal? - lo

This discussion is closed to new replies.