标题: [文件操作] 批处理如何求出文件夹中的txt文件有没有内容重复的? [打印本页]
作者: 123User27 时间: 2022-5-23 13:22 标题: 批处理如何求出文件夹中的txt文件有没有内容重复的?
有没有方法能求出指定的一个文件夹中的文件(1.txt,2.txt,3.txt...)中有没有内容重复的啊
作者: Batcher 时间: 2022-5-23 14:04
回复 1# 123User27
请举例说明具体需求
作者: 123User27 时间: 2022-5-23 14:09
回复 2# Batcher
同一个目录下有X个TXT,里面都是一串数字.
能不能看到这些TXT里数字是否重复啊
作者: Batcher 时间: 2022-5-23 14:12
回复 3# 123User27
请找几个样本文件上传到阿里云盘或百度网盘,说清楚针对那几个样本文件你需要得到的具体结果是什么。
作者: 123User27 时间: 2022-5-24 08:38
回复 4# Batcher - @echo off
- certutil -decode "%~f0" Bin.zip
- exit /b 1
-
- -----BEGIN CERTIFICATE-----
- UEsDBBQAAAAAALI9uFQAAAAAAAAAAAAAAAAEAAAAQklOL1BLAwQKAAAAAACuPbhU
- WUZ8KQwAAAAMAAAACQAAAEJJTi8xLnR4dDI2MDc5MjE1ODkNClBLAwQKAAAAAACu
- PbhUft+zmQwAAAAMAAAACgAAAEJJTi8xMC50eHQyNDA0MzE3NzM3DQpQSwMECgAA
- AAAArj24VK4ODTkMAAAADAAAAAoAAABCSU4vMTEudHh0MjQ5NzQxNjg1NQ0KUEsD
- BAoAAAAAAK49uFTRY61sCwAAAAsAAAAKAAAAQklOLzEyLnR4dDE1NjUwMTE0Nw0K
- UEsDBAoAAAAAAK49uFTw4mQjCgAAAAoAAAAKAAAAQklOLzEzLnR4dDY1ODE0OTY4
- DQpQSwMECgAAAAAArj24VHxZbPcLAAAACwAAAAoAAABCSU4vMTQudHh0MTg1ODc1
- ODM0DQpQSwMECgAAAAAArj24VHTqLOMKAAAACgAAAAoAAABCSU4vMTUudHh0OTQz
- MDI4MzkNClBLAwQKAAAAAACuPbhU2uAIpAsAAAALAAAACgAAAEJJTi8xNi50eHQz
- MDg2ODY5MjgNClBLAwQKAAAAA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FRG
- Iy7/btgB2GE7Lv9u2AFURiMu/27YAVBLAQI/AAoAAAAAAK49uFT8BCptDAAAAAwA
- AAAJACQAAAAAAAAAIAAAAIgEAABCSU4vMy50eHQKACAAAAAAAAEAGAA07AIu/27Y
- AZazkS7/btgBNOwCLv9u2AFQSwECPwAKAAAAAACuPbhUWl5OpwoAAAAKAAAACgAk
- AAAAAAAAACAAAAC7BAAAQklOLzMwLnR4dAoAIAAAAAAAAQAYAJ9pJC7/btgBfQM6
- Lv9u2AGfaSQu/27YAVBLAQI/AAoAAAAAAK49uFTQ83P1DAAAAAwAAAAJACQAAAAA
- AAAAIAAAAO0EAABCSU4vNC50eHQKACAAAAAAAAEAGADBdAQu/27YAWJ3oi7/btgB
- kf0DLv9u2AFQSwECPwAKAAAAAACuPbhUzSDdHQsAAAALAAAACQAkAAAAAAAAACAA
- AAAgBQAAQklOLzUudHh0CgAgAAAAAAABABgAO4QFLv9u2AFz/7Uu/27YAShdBS7/
- btgBUEsBAj8ACgAAAAAArj24VOuuJ7MKAAAACgAAAAkAJAAAAAAAAAAgAAAAUgUA
- AEJJTi82LnR4dAoAIAAAAAAAAQAYABoyBy7/btgBd3cSL/9u2AGLbgYu/27YAVBL
- AQI/AAoAAAAAAK49uFS0iMrjDAAAAAwAAAAJACQAAAAAAAAAIAAAAIMFAABCSU4v
- Ny50eHQKACAAAAAAAAEAGACKkQgu/27YAVmtXy//btgBUWoILv9u2AFQSwECPwAK
- AAAAAACuPbhUsceSgwsAAAALAAAACQAkAAAAAAAAACAAAAC2BQAAQklOLzgudHh0
- CgAgAAAAAAABABgAHvEJLv9u2AFoda4v/27YATzLCS7/btgBUEsBAj8ACgAAAAAA
- rj24VE6Yk7wLAAAACwAAAAkAJAAAAAAAAAAgAAAA6AUAAEJJTi85LnR4dAoAIAAA
- AAAAAQAYAG7bCi7/btgBiHL9L/9u2AFu2wou/27YAVBLBQYAAAAAHwAfABULAAAa
- BgAAAAA=
- -----END CERTIFICATE-----
复制代码
| CMD输出 | | | |
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
[ ].txt和[ ].txt内容重复/没有内容重复!
| |
作者: 123User27 时间: 2022-5-24 18:13
顶一下~~~~~~·
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |