|
ggyy66
初级用户
 
积分 173
发帖 69
注册 2007-8-7
状态 离线
|
『楼 主』:
如何用dos命令强删某些不让删除的文件?
使用 LLM 解释/回答一下
如何用dos命令强删某些不让删除的文件?
----------------
有些病毒文件,在windows下无法删除。只能用unlocker或是冰刃来解决。
可是我想通过dos命令可以实现吗?
只要找到了这个具体的文件名,如何强行删除它。
我想,用冰刃这类软件可以实现,按理说用dos命令也是一定可以实现吧?
How to force delete some files that cannot be deleted using DOS commands?
--------------------
Some virus files cannot be deleted under Windows. Only by using Unlocker or IceSword to solve.
But can I achieve it through DOS commands?
As long as I find this specific file name, how to force delete it.
I think that software like IceSword can achieve it. It stands to reason that it must be possible to do it through DOS commands too?
|
|
2008-5-27 08:34 |
|
|
bat-zw
金牌会员
      永远的学习者
积分 3105
发帖 1276
注册 2008-3-8
状态 离线
|
|
2008-5-27 09:00 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
转贴
XP中无敌命令replace:强制替换文件
用来替换文件的replace,连正在使用的文件也能替换。
比如:在C:\下建一个目录,c:\aaa
然后复制一首mp3到c:\aaa并命名为c:\aaa\a.mp3
然后再复制另一首歌到C:\a.mp3
然后用media player 播放c:\aaa\a.mp3
在命令提示符下输入:replace c:\a.mp3 c:\aaa
过一会,是不是播放的歌已变为另一首。
用这个命令来替换系统文件真是太爽了,并且XP的系统文件保护也对它无效。
再也不用到安全模式下去替换文件了
Repost
Invincible command replace in XP: force replacing files
The replace command used to replace files can even replace files that are in use.
For example: Create a directory under C: \, c: \aaa
Then copy an mp3 to c:\aaa and name it c:\aaa\a.mp3
Then copy another song to C:\a.mp3
Then play c:\aaa\a.mp3 with media player
Enter in the command prompt: replace c:\a.mp3 c:\aaa
After a while, isn't the played song changed to another one.
Using this command to replace system files is really cool, and the system file protection of XP is also ineffective for it.
No need to replace files in safe mode anymore
|

 |
|
2008-5-27 09:06 |
|
|
ggyy66
初级用户
 
积分 173
发帖 69
注册 2007-8-7
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
replace 并不是总能用的。mp3没试。可是exe文件无法替换。
Replacement isn't always usable. MP3 wasn't tried. But EXE files can't be replaced.
|
|
2008-5-27 09:23 |
|
|
ggyy66
初级用户
 
积分 173
发帖 69
注册 2007-8-7
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
del 好象有时删除不了吧。
我试过,有时删除不了,用冰刃就能。或是用unlocker也行,
我的目的是不用软件,用纯dos命令解决。
del sometimes seems unable to delete.
I tried, sometimes unable to delete, using IceSword can. Or using Unlocker is also okay,
My purpose is to use pure DOS commands without software to solve.
|
|
2008-5-27 09:25 |
|
|
zqz0012005
中级用户
  
积分 297
发帖 135
注册 2006-10-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
目标文件正在被使用,也就是被锁定,unlocker或冰刃能删除是因为它们能解除锁定。纯dos命令无法做到。
raplace我试验时从来没有成功过。。。
The target file is in use, that is, locked. Unlocker or IceSword can delete it because they can remove the lock. Pure DOS commands can't do that.
I never succeeded when I tested replace...
|

hh.exe ntcmds.chm::/ntcmds.htm
 |
|
2008-5-27 11:02 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
unlocker有参数没。。。
ren 改成old
重启后删除……
Does unlocker have parameters...
ren to old
Delete after restart...
|

S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore |
|
2008-5-27 11:56 |
|
|
ggyy66
初级用户
 
积分 173
发帖 69
注册 2007-8-7
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
我就是想实现用dos命令实现unlocker的功能,解除锁,然后删之。
I just want to use DOS commands to achieve the function of unlocker, remove the lock, and then delete it.
|
|
2008-5-27 16:51 |
|
|
jiulong
中级用户
  
积分 396
发帖 183
注册 2007-12-23
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
rd /s/q \\?\%1
del /f/a/q \\?\%1
任何不能删除的文件拖到此批处理图标上即可
rd /s/q \\?\%1
del /f/a/q \\?\%1
Drag any unremovable files onto this batch icon
|
|
2008-5-29 17:26 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by jiulong at 2008-5-29 05:26 PM:
rd /s/q \\?\%1
del /f/a/q \\?\%1
任何不能删除的文件拖到此批处理图标上即可
fat32分区的资源管理器下不可见目录无法删除,
不能得到最深层路径任何工具都不能删,除非格盘。
删东西,其实冰刃还没rd用着爽,
Originally posted by jiulong at 2008-5-29 05:26 PM:
rd /s/q \\?\%1
del /f/a/q \\?\%1
Drag any unremovable files onto this batch file icon.
In the resource manager of a fat32 partition, invisible directories cannot be deleted.
Any tool cannot delete the deepest path unless you format the disk.
When deleting files, actually IceSword is not as easy to use as rd.
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-5-29 17:41 |
|
|
ggyy66
初级用户
 
积分 173
发帖 69
注册 2007-8-7
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
rd /s/q \\?\%1
del /f/a/q \\?\%1
--------------------------------
请指教,后面的 \\?\%1是什么意思呀?
The `\\?\` prefix is a way to enable long path support in Windows. It allows paths that exceed the normal MAX_PATH limit (260 characters). `%1` is a command-line argument. So the first command `rd /s/q \\?\%1` is for forcibly removing (recursively, silently) the directory specified by the first command-line argument with long path support enabled, and the second command `del /f/a/q \\?\%1` is for forcibly deleting (with attributes, silently) the file specified by the first command-line argument with long path support enabled.
请指教,后面的 \\?\%1是什么意思呀?
Please advise, what does the following `\\?\%1` mean?
|
|
2008-6-1 01:11 |
|
|
jh1688
中级用户
  
积分 248
发帖 126
注册 2008-5-30
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by plp626 at 2008-5-29 05:41 PM:
fat32分区的资源管理器下不可见目录无法删除,
不能得到最深层路径任何工具都不能删,除非格盘。
删东西,其实冰刃还没rd用着爽,
对于深层隐藏的目录,可以用DIR /AD /X >文本文件
修改一下文本文件,就可以批处理删除任何文件了
Originally posted by plp626 at 2008-5-29 05:41 PM:
In the FAT32 partition, directories that are not visible in Windows Explorer cannot be deleted. You can't get the deepest path, and no tool can delete them unless you format the disk. When it comes to deleting files, actually, IceSword is not as easy to use as RD.
For deeply hidden directories, you can use DIR /AD /X > text file. Modify the text file, and then you can batch delete any files.
|
|
2008-6-9 06:01 |
|
|
tanyi
新手上路

积分 7
发帖 4
注册 2010-10-21 来自 湖南
状态 离线
|
|
2010-11-7 23:38 |
|
|
xswdong
中级用户
  
积分 216
发帖 129
注册 2007-2-14
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
XP中无敌命令replace:强制替换文件
用来替换文件的replace,连正在使用的文件也能替换。
比如:在C:\下建一个目录,c:\aaa
然后复制一首mp3到c:\aaa并命名为c:\aaa\a.mp3
然后再复制另一首歌到C:\a.mp3
然后用media player 播放c:\aaa\a.mp3
在命令提示符下输入:replace c:\a.mp3 c:\aaa
过一会,是不是播放的歌已变为另一首。
用这个命令来替换系统文件真是太爽了,并且XP的系统文件保护也对它无效。
再也不用到安全模式下去替换文件了
这个应该是网上误传,我曾经用replace替换过多次系统文件,都失败了
XP medium-unbeatable command replace: force replacement of files
The replace used to replace files can even replace files that are in use.
For example: Create a directory under C: \, c: \aaa
Then copy an mp3 to c: \aaa and name it c: \aaa\a.mp3
Then copy another song to C:\a.mp3
Then play c: \aaa\a.mp3 with media player
Enter in the command prompt: replace c:\a.mp3 c:\aaa
After a while, is the playing song changed to another one.
It's really cool to use this command to replace system files, and the system file protection of XP is also ineffective for it.
No longer need to replace files in safe mode
This should be misinformation on the Internet. I have tried to replace system files with replace many times, but all failed
|
|
2010-11-11 03:36 |
|
|
naiveboy520
初级用户
 
积分 40
发帖 37
注册 2009-6-24
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
你这句话说的好, 用DOS解决, 但是你别忘了, 你用的CMD, 不是用的DOS, cmd没有那个高的权限!
What you said is good, using DOS to solve, but you don't forget, you are using CMD, not DOS, CMD doesn't have that high authority!
|
|
2010-11-12 22:07 |
|