How can I get the batch renaming command to work with CRC32? I tried the below item but it renames all the files with the same CRC32. Each file should have a different CRC32 string.
rename b, hash(crc32,,1);
CRC32 String as File's Name?
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: CRC32 String as File's Name?
Code: Select all
// Hash files individually
foreach($entry, "<get SelectedItemsPathNames>", "<crlf>") {
rename b, hash(crc32, $entry, 1), , $entry;
}One of my scripts helped you out? Please donate via Paypal
-
Member
- Posts: 15
- Joined: 13 Oct 2009 03:09
Re: CRC32 String as File's Name?
I got an access denied error. Attached is the error snapshot.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: CRC32 String as File's Name?
On a specific file? Permissions?
One of my scripts helped you out? Please donate via Paypal
-
Member
- Posts: 15
- Joined: 13 Oct 2009 03:09
Re: CRC32 String as File's Name?
Nevermind, I got it to work. Thanks highend!
XYplorer Beta Club