![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-11-10 11:38 |
47,815 topics / 349,930 posts / today 0 new / 48,291 members |
| DOS批处理 & 脚本技术(批处理室) » [Unresolved] Batch non-empty judgment access and deletion of slightly deformed directories |
| Printable Version 17,910 / 67 |
| Floor16 plp626 | Posted 2008-03-02 00:59 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
Originally posted by slore at 2008-3-2 12:05 AM: What does it mean? You mean I'm copying, right, In many of the posts I posted before, as long as it was something I thought of myself, I wanted to mark it as original, but as I progressed in my studies, when I looked back at those previous posts, I couldn't help but laugh at myself, because I marked something as original with overly simple code, then original posts would be everywhere. It would also make the posts in the alliance have little technical content. There are only about 70 commands in cmd. The thinking space is limited. As long as it's introduced in the cmd built-in help, saying it's original will attract many sneers. Unless there is a subversive thinking or algorithm included in it. If it's a good post, it will naturally be copied. (Everyone is welcome to copy my post!) |
|
| Floor17 26933062 | Posted 2008-03-02 04:18 |
| 银牌会员 Posts 879 Credits 2,268 | |
|
Hahaha, brother plp626 has a misunderstanding.
What I mean is that how to open folders with dots is not a new topic. It's not that your article is not original, but that I don't agree with the view you explained in extra-large font in floor 14. You said "To access a directory with a dot, you don't have to use start...". I mean what you are accessing is the information of the 123 directory. In fact, the directory 123..\ still exists, and the content inside can't be seen by double-clicking the newly created 123 directory. It's also impossible to delete it. |
|
| Floor18 slore | Posted 2008-03-02 14:11 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Sweat~ I mean my red highlighted part is original.
I don't know if my Chinese is not up to standard~ It's not understandable like this, so I have to write an example. Use your own eyes to see if you can access it!!! If the picture can't be seen directly, click this link to see it. |
|
| Floor19 plp626 | Posted 2008-03-02 16:28 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
Then I'm sorry.But what brother slore said is not entirely correct. That would only be effective for the first - level abnormal directory. For example, execute (please paste the following code into the command line, some folders cannot be created with batch! ) The 1.txt file is copied to the plp1..\plp2..\ path. But then use your method to create: Only the folder plp2 can be seen under the plp1.. directory. Even if you "add more dots" to create directories You still can't access the copied file with the mouse. It seems that this "adding more dots" method always makes it impossible for the mouse to access the abnormal directory within the abnormal directory! Brother, do you have any other methods? [ Last edited by plp626 on 2008 - 3 - 2 at 04:53 PM ] |
|
| Floor20 slore | Posted 2008-03-02 17:40 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Please understand what I said in the 14th floor.
Change your second code segment to: See if it can be accessed... Please understand. I'm going to school, you can take your time to see. Compare the differences by yourself where they are. |
|
| Floor21 plp626 | Posted 2008-03-02 19:41 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
|
You this is original. Collected
|
|
| Floor22 523066680 | Posted 2008-03-05 19:05 |
| 银牌会员 Posts 1,133 Credits 2,361 | |
|
My most feared thing
md con\ md con\nul\ This... will be very scary, right... |
|
| Floor23 plp626 | Posted 2008-03-05 23:09 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
|
rd /q/s con\nul\
rd /q/s con\ |
|
| Floor24 523066680 | Posted 2008-03-07 18:07 |
| 银牌会员 Posts 1,133 Credits 2,361 | |
|
It is said like this... Please forgive me for finding fault...
Viruses can also increase incrementally... Multiple different types of deformities... It may also be that I am overthinking... I hope the virus won't be too abnormal... But viruses shouldn't be so complicated... |
|
| Floor25 plp626 | Posted 2008-03-07 21:14 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
|
Viruses may be more perverse than you think,
But no matter how perverse can be eliminated, I have an idea (for discussion): Use 2>&1 to get the deep path of the abnormal directory, and then use for to analyze the path to eliminate all abnormal directories should be no problem, |
|
| Floor26 523066680 | Posted 2008-03-08 18:41 |
| 银牌会员 Posts 1,133 Credits 2,361 | |
|
Ah... I didn't understand 2>&1... Let's learn first...
[ Last edited by 523066680 on 2008-3-8 at 07:01 PM ] |
|
| Floor27 523066680 | Posted 2008-03-08 18:41 |
| 银牌会员 Posts 1,133 Credits 2,361 | |
|
Actually, if the virus also adds cacls, it will be very... Ali roast duck...
|
|
| Floor28 learner0 | Posted 2008-03-08 19:32 |
| 初级用户 Posts 49 Credits 108 | |
Originally posted by plp626 at 2008-3-5 11:09 PM: If there are still directories under con\nul\, the command rd /q/s con\nul\ is invalid, and rd /q/s con\ is universal. |
|
| Floor29 plp626 | Posted 2008-03-09 01:36 |
| 银牌会员 Posts 1,020 Credits 2,278 | |
|
You guys don't push me, I just don't want to write.
No matter how "weird" the directory is, you can just click it once and everything is done. |
|
| Floor30 523066680 | Posted 2008-03-09 10:42 |
| 银牌会员 Posts 1,133 Credits 2,361 | |
|
Reading the post, I can tell you're way more capable than me... Teach a noob like me, please
|
|
| Prev 1 2 3 4 5 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |