Hello.. This may sound trivial, but usually one may rename files like this:
and it would get the extension of the original.
However, try doing the same with (I've anonymized it, but same result):
Expected: The file is renamed to the new name with the previous file extension.
Actual Result: The extension is removed.
Is this correct behaviour, and if so, how would I else rename a file and still have the previous file extension when it contains "."?
Edit: the source filename in this case is simply 09.txt, but the extension can be anything (and is the reason for the .*)
Code:
ren 09.* "test file.*"
However, try doing the same with (I've anonymized it, but same result):
Code:
ren 09.* "09 - x x. x. x, x. x! x x x, x. x.*"
Actual Result: The extension is removed.
Is this correct behaviour, and if so, how would I else rename a file and still have the previous file extension when it contains "."?
Edit: the source filename in this case is simply 09.txt, but the extension can be anything (and is the reason for the .*)