[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[文件操作] 批处理如何求出文件夹中的txt文件有没有内容重复的?

有没有方法能求出指定的一个文件夹中的文件(1.txt,2.txt,3.txt...)中有没有内容重复的啊

顶一下~~~~~~·

TOP

回复 4# Batcher
  1. @echo off
  2. certutil -decode "%~f0" Bin.zip
  3. exit /b 1
  4. -----BEGIN CERTIFICATE-----
  5. UEsDBBQAAAAAALI9uFQAAAAAAAAAAAAAAAAEAAAAQklOL1BLAwQKAAAAAACuPbhU
  6. WUZ8KQwAAAAMAAAACQAAAEJJTi8xLnR4dDI2MDc5MjE1ODkNClBLAwQKAAAAAACu
  7. PbhUft+zmQwAAAAMAAAACgAAAEJJTi8xMC50eHQyNDA0MzE3NzM3DQpQSwMECgAA
  8. AAAArj24VK4ODTkMAAAADAAAAAoAAABCSU4vMTEudHh0MjQ5NzQxNjg1NQ0KUEsD
  9. BAoAAAAAAK49uFTRY61sCwAAAAsAAAAKAAAAQklOLzEyLnR4dDE1NjUwMTE0Nw0K
  10. UEsDBAoAAAAAAK49uFTw4mQjCgAAAAoAAAAKAAAAQklOLzEzLnR4dDY1ODE0OTY4
  11. DQpQSwMECgAAAAAArj24VHxZbPcLAAAACwAAAAoAAABCSU4vMTQudHh0MTg1ODc1
  12. ODM0DQpQSwMECgAAAAAArj24VHTqLOMKAAAACgAAAAoAAABCSU4vMTUudHh0OTQz
  13. MDI4MzkNClBLAwQKAAAAAACuPbhU2uAIpAsAAAALAAAACgAAAEJJTi8xNi50eHQz
  14. MDg2ODY5MjgNClBLAwQKAAAAAACuPbhURbUsPQsAAAALAAAACgAAAEJJTi8xNy50
  15. eHQyMDQwNDE3MTENClBLAwQKAAAAAACuPbhUIOmGoQwAAAAMAAAACgAAAEJJTi8x
  16. OC50eHQxMDEwODI2MjUzDQpQSwMECgAAAAAArj24VG2FGjEMAAAADAAAAAoAAABC
  17. SU4vMTkudHh0MTE0ODUyMjQxOA0KUEsDBAoAAAAAAK49uFQCNyXKCwAAAAsAAAAJ
  18. AAAAQklOLzIudHh0MzA4OTIyMDY2DQpQSwMECgAAAAAArj24VFhzXNULAAAACwAA
  19. AAoAAABCSU4vMjAudHh0MTUzMDE0NTU3DQpQSwMECgAAAAAArj24VDYTEZoMAAAA
  20. DAAAAAoAAABCSU4vMjEudHh0MTg2NDExMzkwMw0KUEsDBAoAAAAAAK49uFTEvBWC
  21. CwAAAAsAAAAKAAAAQklOLzIyLnR4dDQxNDUyNzY4Ng0KUEsDBAoAAAAAAK49uFSP
  22. WCOGCwAAAAsAAAAKAAAAQklOLzIzLnR4dDI2OTgyNTIzOQ0KUEsDBAoAAAAAAK49
  23. uFTmTw9uDAAAAAwAAAAKAAAAQklOLzI0LnR4dDI2NjkxMzAxMDINClBLAwQKAAAA
  24. AACuPbhUKG3arwwAAAAMAAAACgAAAEJJTi8yNS50eHQyMzY1OTE2NTU3DQpQSwME
  25. CgAAAAAArj24VG44SzwMAAAADAAAAAoAAABCSU4vMjYudHh0MTQ4NjcxODk1Nw0K
  26. UEsDBAoAAAAAAK49uFQWRsczCgAAAAoAAAAKAAAAQklOLzI3LnR4dDY1NDA0MzQ5
  27. DQpQSwMECgAAAAAArj24VFwVm/gLAAAACwAAAAoAAABCSU4vMjgudHh0MzE1MjMx
  28. NTEwDQpQSwMECgAAAAAArj24VDpE6CULAAAACwAAAAoAAABCSU4vMjkudHh0MTUy
  29. MjExOTAzDQpQSwMECgAAAAAArj24VPwEKm0MAAAADAAAAAkAAABCSU4vMy50eHQy
  30. OTYzNzMwNTUzDQpQSwMECgAAAAAArj24VFpeTqcKAAAACgAAAAoAAABCSU4vMzAu
  31. dHh0ODg3OTgyMjANClBLAwQKAAAAAACuPbhU0PNz9QwAAAAMAAAACQAAAEJJTi80
  32. LnR4dDEwMDIyMTQ4MDQNClBLAwQKAAAAAACuPbhUzSDdHQsAAAALAAAACQAAAEJJ
  33. Ti81LnR4dDI2MjMxNDUzMg0KUEsDBAoAAAAAAK49uFTrriezCgAAAAoAAAAJAAAA
  34. QklOLzYudHh0NzkzMjg5MjINClBLAwQKAAAAAACuPbhUtIjK4wwAAAAMAAAACQAA
  35. AEJJTi83LnR4dDE4OTYxMjMwNzcNClBLAwQKAAAAAACuPbhUsceSgwsAAAALAAAA
  36. CQAAAEJJTi84LnR4dDMyMjk4OTQ4NA0KUEsDBAoAAAAAAK49uFROmJO8CwAAAAsA
  37. AAAJAAAAQklOLzkudHh0MjE4NDI1MzEwDQpQSwECPwAUAAAAAACyPbhUAAAAAAAA
  38. AAAAAAAABAAkAAAAAAAAABAAAAAAAAAAQklOLwoAIAAAAAAAAQAYANrOHzL/btgB
  39. 9fUfMv9u2AGUn+gkbm7YAVBLAQI/AAoAAAAAAK49uFRZRnwpDAAAAAwAAAAJACQA
  40. AAAAAAAAIAAAACIAAABCSU4vMS50eHQKACAAAAAAAAEAGACIzf4t/27YAWRccC7/
  41. btgBXKb+Lf9u2AFQSwECPwAKAAAAAACuPbhUft+zmQwAAAAMAAAACgAkAAAAAAAA
  42. ACAAAABVAAAAQklOLzEwLnR4dAoAIAAAAAAAAQAYAFfXDC7/btgBJMNKMP9u2AFt
  43. sAwu/27YAVBLAQI/AAoAAAAAAK49uFSuDg05DAAAAAwAAAAKACQAAAAAAAAAIAAA
  44. AIkAAABCSU4vMTEudHh0CgAgAAAAAAABABgAww8OLv9u2AFlp5kw/27YAcMPDi7/
  45. btgBUEsBAj8ACgAAAAAArj24VNFjrWwLAAAACwAAAAoAJAAAAAAAAAAgAAAAvQAA
  46. AEJJTi8xMi50eHQKACAAAAAAAAEAGAB8vQ8u/27YAdYp5zD/btgBfL0PLv9u2AFQ
  47. SwECPwAKAAAAAACuPbhU8OJkIwoAAAAKAAAACgAkAAAAAAAAACAAAADwAAAAQklO
  48. LzEzLnR4dAoAIAAAAAAAAQAYANDOEC7/btgBSuFlMf9u2AHypxAu/27YAVBLAQI/
  49. AAoAAAAAAK49uFR8WWz3CwAAAAsAAAAKACQAAAAAAAAAIAAAACIBAABCSU4vMTQu
  50. dHh0CgAgAAAAAAABABgAXS4SLv9u2AGT4uYx/27YAV0uEi7/btgBUEsBAj8ACgAA
  51. AAAArj24VHTqLOMKAAAACgAAAAoAJAAAAAAAAAAgAAAAVQEAAEJJTi8xNS50eHQK
  52. ACAAAAAAAAEAGABZQBMu/27YAYuPNDL/btgB1BgTLv9u2AFQSwECPwAKAAAAAACu
  53. PbhU2uAIpAsAAAALAAAACgAkAAAAAAAAACAAAACHAQAAQklOLzE2LnR4dAoAIAAA
  54. AAAAAQAYAGV4FC7/btgBLHiBMv9u2AFleBQu/27YAVBLAQI/AAoAAAAAAK49uFRF
  55. tSw9CwAAAAsAAAAKACQAAAAAAAAAIAAAALoBAABCSU4vMTcudHh0CgAgAAAAAAAB
  56. ABgA7bAVLv9u2AEHteEy/27YAfyJFS7/btgBUEsBAj8ACgAAAAAArj24VCDphqEM
  57. AAAADAAAAAoAJAAAAAAAAAAgAAAA7QEAAEJJTi8xOC50eHQKACAAAAAAAAEAGABE
  58. 6RYu/27YAc44LzP/btgBK8IWLv9u2AFQSwECPwAKAAAAAACuPbhUbYUaMQwAAAAM
  59. AAAACgAkAAAAAAAAACAAAAAhAgAAQklOLzE5LnR4dAoAIAAAAAAAAQAYAAj7Fy7/
  60. btgBCjB8M/9u2AG90xcu/27YAVBLAQI/AAoAAAAAAK49uFQCNyXKCwAAAAsAAAAJ
  61. ACQAAAAAAAAAIAAAAFUCAABCSU4vMi50eHQKACAAAAAAAAEAGACAPgEu/27YAfUX
  62. gS7/btgBohcBLv9u2AFQSwECPwAKAAAAAACuPbhUWHNc1QsAAAALAAAACgAkAAAA
  63. AAAAACAAAACHAgAAQklOLzIwLnR4dAoAIAAAAAAAAQAYAGgzGS7/btgB1RbaM/9u
  64. 2AF4DBku/27YAVBLAQI/AAoAAAAAAK49uFQ2ExGaDAAAAAwAAAAKACQAAAAAAAAA
  65. IAAAALoCAABCSU4vMjEudHh0CgAgAAAAAAABABgAuEQaLv9u2AHbOyc0/27YAd8d
  66. Gi7/btgBUEsBAj8ACgAAAAAArj24VMS8FYILAAAACwAAAAoAJAAAAAAAAAAgAAAA
  67. 7gIAAEJJTi8yMi50eHQKACAAAAAAAAEAGABRVxsu/27YASHCuzT/btgBIC8bLv9u
  68. 2AFQSwECPwAKAAAAAACuPbhUj1gjhgsAAAALAAAACgAkAAAAAAAAACAAAAAhAwAA
  69. QklOLzIzLnR4dAoAIAAAAAAAAQAYAIhAHC7/btgBispfNf9u2AGIQBwu/27YAVBL
  70. AQI/AAoAAAAAAK49uFTmTw9uDAAAAAwAAAAKACQAAAAAAAAAIAAAAFQDAABCSU4v
  71. MjQudHh0CgAgAAAAAAABABgAFVIdLv9u2AH5nb01/27YARErHS7/btgBUEsBAj8A
  72. CgAAAAAArj24VCht2q8MAAAADAAAAAoAJAAAAAAAAAAgAAAAiAMAAEJJTi8yNS50
  73. eHQKACAAAAAAAAEAGAC22B4u/27YAW8rDDb/btgBttgeLv9u2AFQSwECPwAKAAAA
  74. AACuPbhUbjhLPAwAAAAMAAAACgAkAAAAAAAAACAAAAC8AwAAQklOLzI2LnR4dAoA
  75. IAAAAAAAAQAYADARIC7/btgBlo9aNv9u2AEj6h8u/27YAVBLAQI/AAoAAAAAAK49
  76. uFQWRsczCgAAAAoAAAAKACQAAAAAAAAAIAAAAPADAABCSU4vMjcudHh0CgAgAAAA
  77. AAABABgA5xohLv9u2AG2dqc2/27YAecaIS7/btgBUEsBAj8ACgAAAAAArj24VFwV
  78. m/gLAAAACwAAAAoAJAAAAAAAAAAgAAAAIgQAAEJJTi8yOC50eHQKACAAAAAAAAEA
  79. GABPDSIu/27YAcI2PS7/btgBTw0iLv9u2AFQSwECPwAKAAAAAACuPbhUOkToJQsA
  80. AAALAAAACgAkAAAAAAAAACAAAABVBAAAQklOLzI5LnR4dAoAIAAAAAAAAQAYAFRG
  81. Iy7/btgB2GE7Lv9u2AFURiMu/27YAVBLAQI/AAoAAAAAAK49uFT8BCptDAAAAAwA
  82. AAAJACQAAAAAAAAAIAAAAIgEAABCSU4vMy50eHQKACAAAAAAAAEAGAA07AIu/27Y
  83. AZazkS7/btgBNOwCLv9u2AFQSwECPwAKAAAAAACuPbhUWl5OpwoAAAAKAAAACgAk
  84. AAAAAAAAACAAAAC7BAAAQklOLzMwLnR4dAoAIAAAAAAAAQAYAJ9pJC7/btgBfQM6
  85. Lv9u2AGfaSQu/27YAVBLAQI/AAoAAAAAAK49uFTQ83P1DAAAAAwAAAAJACQAAAAA
  86. AAAAIAAAAO0EAABCSU4vNC50eHQKACAAAAAAAAEAGADBdAQu/27YAWJ3oi7/btgB
  87. kf0DLv9u2AFQSwECPwAKAAAAAACuPbhUzSDdHQsAAAALAAAACQAkAAAAAAAAACAA
  88. AAAgBQAAQklOLzUudHh0CgAgAAAAAAABABgAO4QFLv9u2AFz/7Uu/27YAShdBS7/
  89. btgBUEsBAj8ACgAAAAAArj24VOuuJ7MKAAAACgAAAAkAJAAAAAAAAAAgAAAAUgUA
  90. AEJJTi82LnR4dAoAIAAAAAAAAQAYABoyBy7/btgBd3cSL/9u2AGLbgYu/27YAVBL
  91. AQI/AAoAAAAAAK49uFS0iMrjDAAAAAwAAAAJACQAAAAAAAAAIAAAAIMFAABCSU4v
  92. Ny50eHQKACAAAAAAAAEAGACKkQgu/27YAVmtXy//btgBUWoILv9u2AFQSwECPwAK
  93. AAAAAACuPbhUsceSgwsAAAALAAAACQAkAAAAAAAAACAAAAC2BQAAQklOLzgudHh0
  94. CgAgAAAAAAABABgAHvEJLv9u2AFoda4v/27YATzLCS7/btgBUEsBAj8ACgAAAAAA
  95. rj24VE6Yk7wLAAAACwAAAAkAJAAAAAAAAAAgAAAA6AUAAEJJTi85LnR4dAoAIAAA
  96. AAAAAQAYAG7bCi7/btgBiHL9L/9u2AFu2wou/27YAVBLBQYAAAAAHwAfABULAAAa
  97. BgAAAAA=
  98. -----END CERTIFICATE-----
复制代码
C:\
CMD输出       
_
x
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

[ ].txt和[ ].txt内容重复/没有内容重复!



^
 
 
ˇ

TOP

回复 3# 123User27


    请找几个样本文件上传到阿里云盘或百度网盘,说清楚针对那几个样本文件你需要得到的具体结果是什么。
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

回复 2# Batcher
同一个目录下有X个TXT,里面都是一串数字.
能不能看到这些TXT里数字是否重复啊

TOP

回复 1# 123User27


    请举例说明具体需求
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

返回列表