1
我使用Autohotkey制作脚本。我的一个热键将检查所有选定的拉链或拉尔斯,并应检测其中哪些受密码保护,以隔离或重命名它们。有没有与Winrar的命令行或任何其他工具可以告诉我这个?谢谢。识别带密码的rars或拉链
我使用Autohotkey制作脚本。我的一个热键将检查所有选定的拉链或拉尔斯,并应检测其中哪些受密码保护,以隔离或重命名它们。有没有与Winrar的命令行或任何其他工具可以告诉我这个?谢谢。识别带密码的rars或拉链
D:>unrar vt test.rar
UNRAR 5.30 freeware Copyright (c) 1993-2015 Alexander Roshal
Archive: test.rar
Details: RAR 4
Name: test.txt
Type: File
Size: 5712
Packed size: 1168
Ratio: 20%
mtime: 2017-06-16 21:37:23,257
Attributes: ..A....
CRC32: 499EFFFA
Host OS: Windows
Compression: RAR 3.0(v29) -m3 -md=128K
Flags: encrypted
但是,如果文件名也加密,它会等待密码:
D:\>unrar vt test.rar
UNRAR 5.30 freeware Copyright (c) 1993-2015 Alexander Roshal
Enter password (will not be echoed) for test.rar:
Program aborted
使用此命令禁止密码提示:
D:\>unrar vt -p- test.rar
UNRAR 5.30 freeware Copyright (c) 1993-2015 Alexander Roshal
Checksum error in the encrypted file test.rar. Corrupt file or wrong password.
Archive: test.rar
Details: RAR 4, encrypted headers
同样的技术适用于其他档案。查找用于提取它们的基本CLI工具,并列出可用参数以找出哪些用于显示特定归档信息。
也许你应该在superuser.com上问这个问题以获得更胜任的答案:-) – flob