Ken Rename (abbreviation: KR)
GeneralQ: Where can I get Regular Expression information?
http://www.regexpstudio.com/TRegExpr/Help/RegExp_Syntax.htmlQ: Where can I get VBScript information?
http://www.w3schools.com/VBscript/vbscript_ref_functions.aspQ: I can not run Ken Rename.
A:Sometimes the config file of Ken Rename changes, delete [KRename.ini] in "C:\Program Files\Ken Rename" and try again.
Q: When I try to run Ken Rename, before the window opens I get the error message "DllRegisterServer in C:\Program Files\Ken Rename\KRenameShell.dll failed."
A: Try to use [regsvr32 "C:\Program Files\Ken Rename\KRenameShell.dll"] in "Start->Run..." dialog box.
If it get the same error message, then create a empty file [KRename.ini] in "C:\Program Files\Ken Rename" and try again.
Q: I get "Class not registered" error when I load a script.
A:You need a file [msscript.ocx], you can download from
http://www.microsoft.com/downloads/details.aspx?FamilyId=D7E31492-2595-49E6-8C02-1426FEC693AC&displaylang=en
Then type "regsvr32 msscript.ocx" in [Start->Run...] dialog box.
Q: The portable version still registers the shell extension, can I disable it?
A: Yes, you can disable "Integrated with Windows Explorer" in Options menu.
Q: Can I rename bulk of files, like 15000+, via import rename list?
A: Yes, the latest KR support import rename list with buffer.
When you import bulk of rename file list, usually it will
take a very long time to load into program.
KR let you set how many buffer lines you want to load in [options] menu. (Default amount is 128)
When you press [Rename], KR will renames all of rename file list, not only files show on the file list view.
Note:
1. If you set buffer lines to 0, KR will load all of rename file list.
2. If you change rename action after import, it will only effect files that show on
the file list view.
Rename Tricks
Q: How can I change "hello world" -> "world hello"?
Use Regular Expression in Replace tab:Q: How can I change " [0201][CCC]aaa" -> " [CCC][0201]aaa"?
A: Use Regular Expression in Replace tab:
Replace: (\[.+?\])(\[.+?\])
With: $2 $1
Q: How can I insert a counter at the 3rd position from left?
A:
Method 1:
1. Insert 3rd position with text "<c>"
2. Add action
3. Change to Macro tab
Method 2 :
Use Regular Expression in Replace tab:
Replace: ^(.{n})(.{2})
With: $2$1
Q: How do I use Filter to include or exclude more than one file extension?
A: You can use semicolon as delimiter.
Q: How to converts the first two letters to the upper case.
A:
Use Regular Expression in Replace tab:
Replace: ^(.{2})
With: \u$1\e
ps: \u start of upper string (\l lower) and \e end.