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