File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: Case Enhancement? Search and Replace Renaming?

Posted By: Walter Rassbach <>
Date: Wednesday, 9 September 1998, at 8:39 a.m.

In Response To: Case Enhancement? Search and Replace Renaming? (Dan LeGate)

I think that the "search and replace X with Y" type function probably isn't all that useful, and I can do that one just by turning a list of the files into a .BAT file in the few cases where one needs to do it... (I could maybe see a special case for space->underscore, but...).

As to the rest of rename, I have some ideas which might cover some of what you are looking at, but I have to think a bit more, and then present it in my usual confusing/pendantic style... ;-)

I am trying to cover a number of cases, including the stuff about TAB/period/etc. dup&positioning when renaming a single file PLUS some extensions (essentially to wildcards) for dealing with ctrl-Rename, rename during ctrl-/alt-Copy/Move (more for ctrl- than for alt-), and rename strings which make it into the history which get applied to single files...

Including the latter part and keeping it consistent, useful, reasonably easy to use & remember, etc. takes some effort and ingenuity...

Some example ideas (may not be done this way in the final proposal):

a rename string of *.A.* would take x.z to x.A.z OR x.y.z to x.y.A.z
a rename string of :1.* would take x.y.z OR x.y.w.z (OR x.z) to x.z
a rename string of ??\AB*.* would make xyzw.pqr into xyABzw.pqr

a '/' is kind of like '?' except that it "eats" the matching character

hitting a "1 during a single name operation would cause the first seqment of the file name to be duplicated immeadiately, just as if it was typed in...

etc.

Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

 
---<>---
 
Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.


FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page