Archive: [request] flag for Rename


[request] flag for Rename
is it possible to add a new flag to the Rename command to let it work even, if the target file exists?
or to let it use the SetOverwrite setting?

at the moment i'll have to use the following code:

IfFileExists "x.y" 0 +2
Delete "x.y"
Rename "z.y" "x.y"

or:
CopyFiles "z.y" "x.y"
Delete "x.y"


it'd be easier this way:
 Rename /FORCE "z.y" "x.y"

Put it in a nice macro and you'll have only one line of code.


hmm, right.