I would like to rename all files in a folder to their SHA1 HASH value.
I have a command line utility that I can use "sha1.exe -s"
to echo out the SHA1 Hash value but I need to rename all the files in that folder to match it (no extension).
Essentially, I would like it to function like this:
rename file.exe (sha1.exe -s file.exe)
In practice turns out something like this:
forfiles /p E:\software\sha1 /c "cmd /c rename @file (sha1.exe -s @file)"
I am open to using other resources such as Powershell if that's what is required.
I appreciate any help!