|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『楼 主』:
把一个文件复制到指定盘的所有根目录下,并无法删除
使用 LLM 解释/回答一下
我看了( 精华 I: 批处理室经典帖子分类索引)这里面的把一个文件拷贝到很多的文件夹(规律)
在此在请问一下,能不能把指定的文件复制到指定盘里所有的文件夹里。
Last edited by namejm on 2007-3-1 at 06:29 PM ]
I read (Essence I: Batch Processing Room Classic Post Classification Index) and saw the part about copying a file to many folders (with patterns). Now I want to ask, can I copy a specified file to all folders on a specified drive?
Last edited by namejm on 2007-3-1 at 06:29 PM ]
|
|
2007-3-2 00:39 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
dir /s /b /ad D:
这样会得到所有文件夹路径,配合for....搞定。
(不是干什么坏事吧?)
dir /s /b /ad D:
This will get all folder paths, and it can be handled with for.... Is it for doing something bad?
|
|
2007-3-2 00:45 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
为什么大家总想着干坏事,在这里来本来就是讨论吗。学一些新鲜的东西对吧,所以不管什么样,只要有一颗善良的心都是不会干坏事的。
Why do people always think about doing bad things? Coming here is originally for discussion. Learning some new things, right? So no matter what, as long as there is a kind heart, one won't do bad things.
|
|
2007-3-2 00:47 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
又不是没给你说?但是你觉得一般有这个必要么?
desktop.ini?配置文件夹背景?
Aren't I the one who told you? But do you think it's generally necessary?
desktop.ini? Configuration folder background?
|
|
2007-3-2 00:53 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
谢谢楼上的指点,我以完成了
for /f %%i in ('dir /s /a /b /ad e:.') do (copy 99.bat %%i\)
Thanks to the guidance from the person above, I have completed it.
for /f %%i in ('dir /s /a /b /ad e:.') do (copy 99.bat %%i\)
|
|
2007-3-2 05:39 |
|
|
jmz573515
银牌会员
    
积分 1212
发帖 464
注册 2006-12-13
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
就算是复制到了每个文件夹下也无所谓,可以通过查找删除,所以没什么干不干坏事儿.... ,个人看法 :)
Even if it's copied to each folder, it doesn't matter. It can be deleted by searching, so there's no real harm... Personal opinion :)
|
|
2007-3-2 05:44 |
|
|
qingfushuan
高级用户
   
积分 502
发帖 327
注册 2006-12-30
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
方法是中性的,人是善良的,好学总是对的
Methods are neutral, people are kind, and being eager to learn is always right
|
|
2007-3-2 06:01 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
那继续想一下,有没有删除不掉的方法。哈哈
Then continue to think, is there a method that can't be deleted. Haha
|
|
2007-3-2 06:22 |
|
|
NaturalJ0
银牌会员
    
积分 1181
发帖 533
注册 2006-8-14
状态 离线
|
|
2007-3-2 06:28 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
用系统进程之类的呀,反正是禁止防问的。我也不知道,只是看高手有没有好的方法和提示,大家共同想一下吗。
Use system processes and the like, anyway, it's forbidden to access. I don't know either, just see if experts have good methods and tips, let's think together, everyone.
|
|
2007-3-2 07:10 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
怎么没有高手指点呀
Why is there no expert to give guidance?
|
|
2007-3-4 08:25 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
请大家多帮忙一下,附件里面是将文件复制到D盘所有子目录下,可是运行BAT后要显示复制一个文件,怎么能让这个提示不显示呢。请各路朋友多多指点,在此先谢谢。
Please help everyone. The attachment is to copy files to all subdirectories of drive D. But after running the BAT, it will display copying a file. How to make this prompt not show? Please give your advice from all friends. Thank you in advance here.
附件
1: 复制文件到子目录下.rar (2007-3-4 08:52, 225 bytes, 下载附件所需积分 1 点
,下载次数: 37)
|
|
2007-3-4 08:52 |
|
|
zhoushijay
高级用户
    Autowalk
积分 845
发帖 375
注册 2007-3-3
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
呵呵,我以前也想过用BAT搞,但是这太容易被发现了,行不通,高级的病毒需要文件保护而不是藏,即使你找到了文件你也没办法删除.
Hehe, I also thought about using BAT before, but this is too easy to be discovered and doesn't work. Advanced viruses need file protection instead of hiding. Even if you find the file, you can't delete it.
|
|
2007-3-4 09:39 |
|
|
aatiandiS
新手上路

积分 5
发帖 2
注册 2007-2-25
状态 离线
|
|
2007-3-4 19:41 |
|
|
mfdcxnf
初级用户
 
积分 155
发帖 74
注册 2007-2-21
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
我又来顶一下,哈哈。在请高手们帮忙解决一下哦,哈哈
I come to top again, haha. And then ask the experts to help solve it, haha
|
|
2007-3-7 05:28 |
|