无忧启动论坛

标题: 汉化和成功集成右键菜单的批量校验哈希值单文件版小工具(HashMyFiles v2.44) [打印本页]

作者: daixq021    时间: 2024-11-12 21:34
标题: 汉化和成功集成右键菜单的批量校验哈希值单文件版小工具(HashMyFiles v2.44)
内容如题,下载链接:(将汉字“点”改为半角“.”)
www点123865点com/s/00M9-Ursp3?
提取码:1234
作者: l234    时间: 2024-11-12 21:42
好东西 下载试试

作者: dayeye    时间: 2024-11-12 21:54
[{汉化和(成功集成右键菜单)}的批量校验哈希值]单文件版小工具

作者: 458608177    时间: 2024-11-12 22:01
好东西 下载试试
作者: netfood    时间: 2024-11-12 22:08
本帖最后由 netfood 于 2024-11-12 22:09 编辑

http://4275.com/qcfffp  HashTab_6.0.0.34
同类型的软件,附推一个


作者: 2012飘水    时间: 2024-11-12 22:25
感谢分享
作者: wn168cn@163.com    时间: 2024-11-12 22:54
感谢分享
作者: LCY_WY    时间: 2024-11-12 23:08
感谢分享!
作者: yc2428    时间: 2024-11-12 23:30
感谢分享
作者: qhb    时间: 2024-11-13 00:32
感谢分享
作者: AcidBurn    时间: 2024-11-13 04:30
谢谢楼主的分享!
作者: wang1126    时间: 2024-11-13 06:31
谢谢楼主分享
作者: yyz2191958    时间: 2024-11-13 07:09
netfood 发表于 2024-11-12 22:08
http://4275.com/qcfffp  HashTab_6.0.0.34
同类型的软件,附推一个

谢谢分享
作者: lili95    时间: 2024-11-13 07:42
谢谢分享,试试用用
作者: jing998    时间: 2024-11-13 07:43
非常实用的小工具。
作者: 445112826    时间: 2024-11-13 08:19
谢谢分享。
作者: sulong    时间: 2024-11-13 08:54
文件校验好工具,谢谢分享
作者: 2012andyle113    时间: 2024-11-13 09:39
用的HashTab
作者: zqfeng01    时间: 2024-11-13 11:03
感謝分享
作者: 孟仁飞    时间: 2024-11-13 11:29
学习
作者: lvgang8267    时间: 2024-11-13 15:38
感谢分享
作者: dszsdyx    时间: 2024-11-14 05:43
这个好啊,有创意,谢谢。
作者: 呵呵#1861    时间: 2024-11-14 06:28
谢谢分享
作者: 董大    时间: 2024-11-14 08:58
感谢楼主分享!
作者: yzw92    时间: 2024-11-14 09:03
感谢分享
作者: fegr    时间: 7 天前
谢谢分享
作者: qq8899399    时间: 7 天前
本帖最后由 qq8899399 于 2024-11-18 15:23 编辑

自带的 就行啊
代码如下




添加
  1. Windows Registry Editor Version 5.00



  2. [-HKEY_CLASSES_ROOT\*\shell\hash]
  3. [-HKEY_CLASSES_ROOT\Directory\shell\hashDirectory]

  4. #右键菜单 哈希值校验 添加

  5. [HKEY_CLASSES_ROOT\*\shell\hash]
  6. "MUIVerb"="Hash 值校验"
  7. "SubCommands"=""
  8. "icon"="SHELL32.dll,22"
  9. "Position"="Bottom"

  10. ; SHA1
  11. [HKEY_CLASSES_ROOT\*\shell\hash\shell\001menu]
  12. "MUIVerb"="SHA1"
  13. "icon"="SHELL32.dll,22"

  14. [HKEY_CLASSES_ROOT\*\shell\hash\shell\001menu\command]
  15. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm SHA1 | format-list"

  16. ; SHA256
  17. [HKEY_CLASSES_ROOT\*\shell\hash\shell\002menu]
  18. "MUIVerb"="SHA256"
  19. "icon"="SHELL32.dll,22"

  20. [HKEY_CLASSES_ROOT\*\shell\hash\shell\002menu\command]
  21. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm SHA256 | format-list"

  22. ; SHA384
  23. [HKEY_CLASSES_ROOT\*\shell\hash\shell\003menu]
  24. "MUIVerb"="SHA384"
  25. "icon"="SHELL32.dll,22"

  26. [HKEY_CLASSES_ROOT\*\shell\hash\shell\003menu\command]
  27. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm SHA384 | format-list"

  28. ; SHA512
  29. [HKEY_CLASSES_ROOT\*\shell\hash\shell\004menu]
  30. "MUIVerb"="SHA512"
  31. "icon"="SHELL32.dll,22"

  32. [HKEY_CLASSES_ROOT\*\shell\hash\shell\004menu\command]
  33. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm SHA512 | format-list"

  34. ; MACTripleDES
  35. [HKEY_CLASSES_ROOT\*\shell\hash\shell\005menu]
  36. "MUIVerb"="MACTripleDES"
  37. "icon"="SHELL32.dll,22"

  38. [HKEY_CLASSES_ROOT\*\shell\hash\shell\005menu\command]
  39. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm MACTripleDES | format-list"

  40. ; MD5
  41. [HKEY_CLASSES_ROOT\*\shell\hash\shell\006menu]
  42. "MUIVerb"="MD5"
  43. "icon"="SHELL32.dll,22"

  44. [HKEY_CLASSES_ROOT\*\shell\hash\shell\006menu\command]
  45. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm MD5 | format-list"

  46. ; RIPEMD160
  47. [HKEY_CLASSES_ROOT\*\shell\hash\shell\007menu]
  48. "MUIVerb"="RIPEMD160"
  49. "icon"="SHELL32.dll,22"

  50. [HKEY_CLASSES_ROOT\*\shell\hash\shell\007menu\command]
  51. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm RIPEMD160 | format-list"

  52. ; SHA1 (保存txt)
  53. [HKEY_CLASSES_ROOT\*\shell\hash\shell\011menuouttxt]
  54. "CommandFlags"=dword:00000020
  55. "MUIVerb"="SHA1 (保存txt)"
  56. "icon"="SHELL32.dll,22"

  57. [HKEY_CLASSES_ROOT\*\shell\hash\shell\011menuouttxt\command]
  58. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA1 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  59. ; SHA256 (保存txt)
  60. [HKEY_CLASSES_ROOT\*\shell\hash\shell\012menuouttxt]
  61. "MUIVerb"="SHA256 (保存txt)"
  62. "icon"="SHELL32.dll,22"

  63. [HKEY_CLASSES_ROOT\*\shell\hash\shell\012menuouttxt\command]
  64. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA256 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  65. ; SHA384 (保存txt)
  66. [HKEY_CLASSES_ROOT\*\shell\hash\shell\013menuouttxt]
  67. "MUIVerb"="SHA384 (保存txt)"
  68. "icon"="SHELL32.dll,22"

  69. [HKEY_CLASSES_ROOT\*\shell\hash\shell\013menuouttxt\command]
  70. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA384 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  71. ; SHA512 (保存txt)
  72. [HKEY_CLASSES_ROOT\*\shell\hash\shell\014menuouttxt]
  73. "MUIVerb"="SHA512 (保存txt)"
  74. "icon"="SHELL32.dll,22"

  75. [HKEY_CLASSES_ROOT\*\shell\hash\shell\014menuouttxt\command]
  76. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA512 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  77. ; MACTripleDES (保存txt)
  78. [HKEY_CLASSES_ROOT\*\shell\hash\shell\015menuouttxt]
  79. "MUIVerb"="MACTripleDES (保存txt)"
  80. "icon"="SHELL32.dll,22"

  81. [HKEY_CLASSES_ROOT\*\shell\hash\shell\015menuouttxt\command]
  82. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm MACTripleDES | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  83. ; MD5 (保存txt)
  84. [HKEY_CLASSES_ROOT\*\shell\hash\shell\016menuouttxt]
  85. "MUIVerb"="MD5 (保存txt)"
  86. "icon"="SHELL32.dll,22"

  87. [HKEY_CLASSES_ROOT\*\shell\hash\shell\016menuouttxt\command]
  88. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm MD5 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  89. ; RIPEMD160 (保存txt)
  90. [HKEY_CLASSES_ROOT\*\shell\hash\shell\017menuouttxt]
  91. "MUIVerb"="RIPEMD160 (保存txt)"
  92. "icon"="SHELL32.dll,22"

  93. [HKEY_CLASSES_ROOT\*\shell\hash\shell\017menuouttxt\command]
  94. @="powershell -noexit -command "$filePath = '%1'; $fileName = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fullFileName = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm RIPEMD160 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append"; exit"

  95. ; Allget-filehash -literalpath '%1' -algorithm RIPEMD160 | format-list
  96. [HKEY_CLASSES_ROOT\*\shell\hash\shell\018menu]
  97. "CommandFlags"=dword:00000020
  98. "MUIVerb"="Show all"
  99. "icon"="SHELL32.dll,22"

  100. [HKEY_CLASSES_ROOT\*\shell\hash\shell\018menu\command]
  101. @="powershell -noexit get-filehash -literalpath \\"%1\\" -algorithm SHA1 | format-list;get-filehash -literalpath \\"%1\\" -algorithm SHA256 | format-list;get-filehash -literalpath \\"%1\\" -algorithm SHA384 | format-list;get-filehash -literalpath \\"%1\\" -algorithm SHA512 | format-list;get-filehash -literalpath \\"%1\\" -algorithm MACTripleDES | format-list;get-filehash -literalpath \\"%1\\" -algorithm MD5 | format-list;get-filehash -literalpath \\"%1\\" -algorithm RIPEMD160 | format-list"




  102. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory]
  103. "icon"="SHELL32.dll,22"
  104. "SubCommands"=""
  105. "MUIVerb"="Hash 校验目录下所有文件"
  106. "Position"="Bottom"

  107. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell]

  108. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\001]
  109. "MUIVerb"="SHA1 (保存txt)"
  110. "icon"="SHELL32.dll,22"

  111. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\001\command]
  112. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA1; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA1 验证完毕.'""

  113. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\002]
  114. "MUIVerb"="SHA256 (保存txt)"
  115. "icon"="SHELL32.dll,22"

  116. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\002\command]
  117. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA256; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA256 验证完毕.'""

  118. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\003]
  119. "MUIVerb"="SHA384 (保存txt)"
  120. "icon"="SHELL32.dll,22"

  121. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\003\command]
  122. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA384; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA384 验证完毕.'""


  123. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\004]
  124. "MUIVerb"="SHA512 (保存txt)"
  125. "icon"="SHELL32.dll,22"

  126. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\004\command]
  127. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA512; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA512 验证完毕.'""


  128. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\005]
  129. "MUIVerb"="MACTripleDES (保存txt)"
  130. "icon"="SHELL32.dll,22"

  131. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\005\command]
  132. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm MACTripleDES; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 MACTripleDES 验证完毕.'""


  133. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\006]
  134. "MUIVerb"="MD5 (保存txt)"
  135. "icon"="SHELL32.dll,22"

  136. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\006\command]
  137. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm MD5; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 MD5 验证完毕.'""


  138. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\007]
  139. "MUIVerb"="RIPEMD160 (保存txt)"
  140. "icon"="SHELL32.dll,22"

  141. [HKEY_CLASSES_ROOT\Directory\shell\hashDirectory\shell\007\command]
  142. @="powershell.exe -NoExit -Command "$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = [System.IO.Path]::GetFileNameWithoutExtension($filePath); $fileNameWithExt = [System.IO.Path]::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm RIPEMD160; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 RIPEMD160 验证完毕.'""
复制代码



移除
  1. Windows Registry Editor Version 5.00

  2. #右键菜单 哈希值校验 删除

  3. [-HKEY_CLASSES_ROOT\*\shell\hash]
  4. [-HKEY_CLASSES_ROOT\Directory\shell\hashDirectory]
复制代码




作者: yeszxc    时间: 7 天前
谢谢楼主分享了!




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3