Add hash of file to its name

Discuss and share scripts and script files...
Post Reply
jgpaiva
Posts: 43
Joined: 02 Oct 2006 12:38

Add hash of file to its name

Post by jgpaiva »

I found that XY already can compute file's MD5 signature (http://www.xyplorer.com/xyfc/viewtopic. ... 082#p13082).
I'd like to make a script to rename a file to append its hash to its name.
My doubt is if it's possible to get that value from a script, since I haven't found anything on the wiki about it.. (sorry if its in the help file, but I can't open it in Vista :().

If this is impossible to be done directly though scripting, do you know of any way this can be done with XYplorer?

Thanks in advance!

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Add hash of file to its name

Post by j_c_hallgren »

jgpaiva wrote:(sorry if its in the help file, but I can't open it in Vista :().
This is strictly about the Help file access issue: Have you looked at the M$ solution link provided in the Issues section of http://www.xyplorer.com/faq.htm?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Add hash of file to its name

Post by admin »

jgpaiva wrote:I found that XY already can compute file's MD5 signature (http://www.xyplorer.com/xyfc/viewtopic. ... 082#p13082).
I'd like to make a script to rename a file to append its hash to its name.
You will be able to do this in scripting soon. Missing commands:
- ReadFile
- MD5

jgpaiva
Posts: 43
Joined: 02 Oct 2006 12:38

Re: Add hash of file to its name

Post by jgpaiva »

j_c_hallgren wrote:
jgpaiva wrote:(sorry if its in the help file, but I can't open it in Vista :().
This is strictly about the Help file access issue: Have you looked at the M$ solution link provided in the Issues section of http://www.xyplorer.com/faq.htm?
Thank you!
That solved it :)
admin wrote: You will be able to do this in scripting soon.
Nice! I'll eagerly wait for it!

admin
Site Admin
Posts: 60602
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Add hash of file to its name

Post by admin »

jgpaiva wrote:
j_c_hallgren wrote:
jgpaiva wrote:(sorry if its in the help file, but I can't open it in Vista :().
This is strictly about the Help file access issue: Have you looked at the M$ solution link provided in the Issues section of http://www.xyplorer.com/faq.htm?
Thank you!
That solved it :)
admin wrote: You will be able to do this in scripting soon.
Nice! I'll eagerly wait for it!
Whoops, took a while. You'll have it in the next beta.

jgpaiva
Posts: 43
Joined: 02 Oct 2006 12:38

Re: Add hash of file to its name

Post by jgpaiva »

Thank you! :)

Post Reply