In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
A few days ago, a teacher asked me for help. There is a file in a flash drive. There is no problem with the flash drive. The file is still there, but it can't be displayed. Let me clean it up for her. I promise. No problem. The embarrassing thing is that it didn't come out. But then asked a friend, and then found a string of code, easy to solve. If nothing else, put on the code:
For / f "delims=?" an in ('dir / a / b') do attrib-a-s-h-r "a"
@ echo off
Pause > nul
Exit
Exactly how to do it is very simple:
(1) create a .exe file under the directory of the hidden file you want to restore (such as all the contents of the flash drive, then directly in the flash drive). The above code is the content.
(2) execute this document and wait a few minutes to finish it directly.
I'm sure a lot of friends don't quite understand that string of code, and to be honest, I don't quite understand. Just a little bit, please accept:
This code is actually a for loop under a DOS command. Command format: for / parameter% variable in (set) do command
/ f is used to open files in the set so that the for loop correctly handles operations such as reading, adding, deleting, etc., of the file directory
The dir command, which displays everything in the current directory
Commands for attrib to handle file properties
/ an archived file
/ r read-only file
/ h hide files
/ s system file
'-' means to clear the attribute
To sum up, it is to clear the read-only, archived, hidden, system properties of all files in the set.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.