I need a command to rename all files in a folder to a random name, which keep the same file extension, and preferably with numbers, what I've achieved so far was this:
forfiles /P c:\teste\ /c "cmd /c rename @path %RANDOM%.@ext"
however %RANDOM%
puts the same number for all files and as these can not have the same name it only changes one.
Powershell is a very different language from day to day so here I ask a solution from someone with experience in it