--- In [email protected], Alan Martin <[EMAIL PROTECTED]> wrote: > Usually I like to do everything with Powerpro, > not using many small programs, > > but in this case I think it will be easier to search for > a freeware/shareware program which specialises in renaming files, > and can do Regular Expressions and double byte characters.
I think we can achieve this by PP too using a plugin regex.dll: http://julp.curvedspaces.com/regex11.zip Assuming the file names contain no special characters, the following may do the job well: ;the below in 1-line regex.replaceg(file.readall(?"d:\file2.txt"), ?"([\w]|[^\r\n ]{2})(?=.*\.)",?"\1P","names") ;the above in 1-line win.debug(names) Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
