|
WinXYhappy
初级用户
 
积分 30
发帖 14
注册 2006-10-26
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
Originally posted by he200377 at 2006-10-27 01:15 AM:
要是把文件内容重复的删除那不好办~
不是不是,那样就太复杂了。其实是这样的:
这个文件夹里有很多一样(内容一样)的文件。
只是在文件命名命名的时候,所以就会出现*1*.txt,*2*.txt~~
其实只要把*1*保存,其它都不要就够了。
而像temp1.txt于tmp1.txt是不一样(文件大小)的。
只有temp1.txt于temp2.txt是一样的。这样会简单一点吧?????
谢谢了!
Originally posted by he200377 at 2006-10-27 01:15 AM:
It's not easy to delete duplicate content files~
No, no, that's too complicated. Actually, it's like this:
There are many identical (same content) files in this folder.
Just when naming the files, so there will be *1*.txt, *2*.txt, etc.
Actually, just keep *1* and discard the others.
And temp1.txt and tmp1.txt are different (file size).
Only temp1.txt and temp2.txt are the same. That would be simpler, right?????
Thanks!
|
|
2006-10-27 02:56 |
|
|
WinXYhappy
初级用户
 
积分 30
发帖 14
注册 2006-10-26
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
Originally posted by electronixtar at 2006-10-27 02:52 AM:
记得一个软件叫:重复文件查找器
啊啊啊啊啊,还有种东西。我去找找。不过还是希望能帮我解决这个问题。
谢谢electronixtar大虾的鼎力指导。
Originally posted by electronixtar at 2006-10-27 02:52 AM:
Remember a software called: Duplicate File Finder
Ah, ah, ah, there's another thing. I'll go find it. But still hope to help me solve this problem.
Thank you,大虾electronixtar for your great guidance.
|
|
2006-10-27 03:01 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
for /f "tokens=*" %%a in ('dir/a-d/b/oe') do set/a c+=1&set a!c!=%%a&set b!c!=%%~za&set c!c!=%%~xa
for /l %%a in (1,1,%c%) do set/a d=%%a+1&for /l %%b in (!d!,1,%c%) do if not !b%%a!.==. call :1 %%a %%b
goto :eof
:1
if !b%1!==!b%2! if !c%1!==!c%2! set b%2=&del "!a%2!"
goto :eof
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
for /f "tokens=*" %%a in ('dir/a-d/b/oe') do set/a c+=1&set a!c!=%%a&set b!c!=%%~za&set c!c!=%%~xa
for /l %%a in (1,1,%c%) do set/a d=%%a+1&for /l %%b in (!d!,1,%c%) do if not !b%%a!.==. call :1 %%a %%b
goto :eof
:1
if !b%1!==!b%2! if !c%1!==!c%2! set b%2=&del "!a%2!"
goto :eof
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-10-27 03:24 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-27 03:28 |
|
|
WinXYhappy
初级用户
 
积分 30
发帖 14
注册 2006-10-26
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
Originally posted by qwe1234567 at 2006-10-27 03:24 AM:
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
for /f "tokens=*" %%a in ('dir/a-d/b/oe') do set/a c+=1&set a!c!=%%a&set b!c!=%%~za&set c!c!=%%~xa
for /l %%a in (1,1,%c%) do set/ ...
哈哈哈哈哈哈,多谢qwe1234567版主的perfect codes。完全成功!!!
在这里还要感谢electronixtar,我的表达能力让他花费了许多脑细胞。不过我也学会了许多.bat知识,以后我会继续请教:electronixtar大虾的,不过又要浪费electronixtar的许多脑细胞了-_-。^_^
同样要感谢he200377,lxmxn大虾们的关注,不然我的帖要沉到海底去了!!
!!!!!这些话怎么这么熟悉!!!!好像是*****TV里的台词一样。
^_^多谢各位了,qwe1234567版主说的不错,我认真出去看了看门牌号。。郁闷进错门了!不过一错错到底吧,就到这落个户也不错。况且上面的code我还有不懂的地方要请教。
Originally posted by qwe1234567 at 2006-10-27 03:24 AM:
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
for /f "tokens=*" %%a in ('dir/a-d/b/oe') do set/a c+=1&set a!c!=%%a&set b!c!=%%~za&set c!c!=%%~xa
for /l %%a in (1,1,%c%) do set/ ...
Hahaha, thanks to the perfect codes from moderator qwe1234567. It was completely successful!!!
Here, I also want to thank electronixtar. My expression ability made him spend a lot of brain cells. But I also learned a lot of .bat knowledge. I will continue to ask electronixtar, the expert, in the future, but it will waste a lot of electronixtar's brain cells again -_-。^_^
I also want to thank he200377,大虾 lxmxn and others for their attention, otherwise my post would have sunk to the bottom of the sea!!!
!!!!! These words are so familiar!!! It seems like lines from *****TV.
^_^ Thanks to everyone. What the moderator qwe1234567 said is right. I carefully went out to check the house number. . . Depressed, I entered the wrong door! But I'll just settle here even if it's a wrong entry. Moreover, I still have some不懂的 places in the above code to ask.
|
|
2006-10-27 03:52 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-10-27 03:56 |
|
|
WinXYhappy
初级用户
 
积分 30
发帖 14
注册 2006-10-26
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
Originally posted by qwe1234567 at 2006-10-27 03:56 AM:
我还是给转到{DOS批处理 & 脚本技术(批处理室)}吧,
qwe1234567版主,你要我怎么说你!!
你就是好人。^_^
Originally posted by qwe1234567 at 2006-10-27 03:56 AM:
I'll still transfer it to {DOS Batch & Script Technology (Batch Processing Room)}
Moderator qwe1234567, what can I say about you!!
You're just a good person. ^_^
|
|
2006-10-27 04:03 |
|
|
vkill
金牌会员
     
积分 4103
发帖 1744
注册 2006-1-20 来自 甘肃.临泽
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
文章标题严重错误,怎么可以说是重复文件???引导我们错误的理解
The title of the article is seriously wrong. How can it be said to be duplicate files??? It leads us to an erroneous understanding
|
|
2006-10-27 04:12 |
|
|
WinXYhappy
初级用户
 
积分 30
发帖 14
注册 2006-10-26
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
Originally posted by he200377 at 2006-10-27 04:12 AM:
文章标题严重错误,怎么可以说是重复文件???引导我们错误的理解
^_^,不好意思,我就说我语文不好吗。
不然electronixtar大虾也不会浪费如此多的脑细胞了。哈哈哈。
我也希望有大侠可以加QQ或MSN之类的,这样如果不懂,我也好慢慢解释。不过。。。。我试过很多次了没人加我。5555555555555555555~~~~~。
只好不厌其烦慢慢问了,也希望各位大虾能体谅吧!!
Originally posted by he200377 at 2006-10-27 04:12 AM:
The title of the article is seriously wrong. How can it be said to be a duplicate file??? It leads us to wrong understanding
^_^, sorry, I just said I am not good at Chinese.
Otherwise,大虾electronixtar wouldn't have wasted so many brain cells. Hahaha.
I also hope that there are experts who can add QQ or MSN and so on. In this way, if I don't understand, I can also explain slowly. But.... I have tried many times and no one adds me. 5555555555555555555~~~~~.
I have to ask repeatedly patiently, and I also hope that all the experts can understand!
|
|
2006-10-27 04:20 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
因为标题与内容不符合,请楼主修改标题名为:
(已结)一个关于删除大小和类型一样的文件的问题!
否则楼主可能会被扣积分!方法是点主题下面的 编辑 进行编辑!
Because the title does not match the content, please the poster modify the title to: (Closed) A question about deleting files with the same size and type! Otherwise, the poster may lose points! The method is to click "Edit" under the topic to edit!
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-10-27 04:39 |
|
|
WinXYhappy
初级用户
 
积分 30
发帖 14
注册 2006-10-26
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
Originally posted by qwe1234567 at 2006-10-27 04:39 AM:
因为标题与内容不符合,请楼主修改标题名为:
(已结)一个关于删除大小和类型一样的文件的问题!
否则楼主可能会被扣积分!方法是点主题下頮..
收到,马上解决!哈哈哈
Originally posted by qwe1234567 at 2006-10-27 04:39 AM:
Because the title does not match the content, please the thread starter to modify the title to:
(Closed) A question about deleting files with the same size and type!
Otherwise, the thread starter may be deducted points! The method is to click the "reply" under the topic..
Received, will fix it immediately! Haha
|
|
2006-10-27 05:23 |
|