You are not logged in.
Ok so since I tried using the ''remove'' rule once and it failed, I tried using the ''delete'' rule instead. Thing is, when I add the rule, there is a conflict. How do I avoid this?
Offline
Use "Fix conflicting new names" option: ReNamer:Menus_for_the_Files_pane#Options_menu
Offline
Thanks stefan, your script worked well!
Could you write one that only reverses the extension name?
e.g. report.xls becomes report.slx
or kid.jpg = kid.gpj
thanks
Offline
Here is a script which will reverse (invert) just the file extension:
var
I, Count: Integer;
Ext, NewExt: WideString;
begin
Ext := WideExtractFileExt(FileName);
NewExt := Ext;
Count := Length(Ext);
for I := 2 to Count do
NewExt[I] := Ext[Count - I + 2];
FileName := WideExtractBaseName(FileName) + NewExt;
end.
Offline
Many thanks den4b!
Works like a charm.
Using this to protect files.
Please could you do a script for symmetrical extension names, like .rar to rename to .rra, i.e swap 2nd and 3rd letter of extension only.
Lastly, could I rename the extensions of every file on a hard drive using a batch file?
for example :
automaticaly search and rename all of these file types [txt rar xls xlsx ppt doc docx jpeg avi mp3 mts..........etc] on a particular hard drive, e.g c drive. d drive, f drive?
Many thanks
Offline
Using this to protect files.
Security through obscurity is a bad idea, just to be clear.
Please could you do a script for symmetrical extension names, like .rar to rename to .rra, i.e swap 2nd and 3rd letter of extension only.
Have you tried modifying the script yourself to achieve this? You already have the building blocks, you just need to re-arrange them a bit. Official documentation could also come in handy.
Lastly, could I rename the extensions of every file on a hard drive using a batch file?
Sure, just save your rules as a preset and use command line options to execute a preset on any set of files, folders or even drives.
Offline