This article introduces a Attrib.exe applet under CMD, which can be used to set the properties of a file. We know that the properties of the file are read-only, hidden, system, archive and no content index, etc. 5, read-only and hidden use more, the
Attrib
Displays, sets, or deletes read-only, archived, system, and hidden properties assigned to a file or directory. If used without parameters, attrib displays the properties of all files in the current directory.
Grammar
attrib [{+r|-r}] [{+a|-a}
Attrib: Setting file properties
[Where applicable] when you want to do more special work on a file
Usage
Attrib Display properties for all files
attrib +r or-R [FileName] Sets whether the file property is read-only
attrib +h or h [FileName]
The main instructions are how to use the attrib command to set the file read-only, hidden properties.Attrib.exe is a small program under CMD that can be used to set the basic properties of a file (read-only, hidden, system, archive, and no content
Made a PE startup disk, but this boot disk can not be deep hidden, otherwise no effect, you can also want to let others see the PE Startup disk of some content, to prevent others mistakenly deleted or modified, so you want to find a way to hide
U disk virus is very bad, slightly not to pay attention to the possibility of the recruit, perhaps the day you will open a U disk is not found in the file, but U disk capacity is normal. In this case, in the absence of anti-virus software, some tips
I've been groping today and yesterday. Why this command doesn't change the properties of the folder,Because I try to use attrib +r/s to modify subfolders, it is useless to find out, and then if you enterAttrib +R/D also hint that d/a needs to be
1. ColorSets the default console foreground and background color.ATTR Specifies the color properties of the console output.The color attribute is specified by two hexadecimal digits-the first corresponds to the background, and the second corresponds
Logo1_.exe files on the computer recently
Run the following file first
Copy Code code as follows:
@echo off
If exist%windir%\rundl132.exe echo found Sunway!
Pause
taskkill/f/im Rundl132.exe
taskkill/f/im Logo_1.exe
taskkill/f/im
Copy Code code as follows:
:: Echo Feature: Automatically generate Sxs.exe,autorun.inf file in each packing directory, some also generate SVOHOST.exe or sxs.exe under Windows\System32, file attribute is implied attribute. Disable antivirus
virus characteristics: Sxs.exe,autorun.inf files are automatically generated in each packing directory, and some are generated SVOHOST.exe or sxs.exe under Windows\System32, and the file attributes are implied attributes. Disable antivirus software
Copy Code code as follows:
:: Echo Feature: Automatically generate Sxs.exe,autorun.inf file in each packing directory, some also generate SVOHOST.exe or sxs.exe under Windows\System32, file attribute is implied attribute. Disable antivirus
New Notepad
Copy the following (in-line)
Copy Code code as follows:
@echo off
C:
CD \
Attrib-s-h-r Copy.exe
Del copy.exe/f
Attrib-s-h-r Host.exe
Del host.exe/f
Attrib-s-h-r *.inf
Del autorun.inf/f
D:
CD \
Attrib-s-h-r Copy.exe
Create notepad
Copy the following content (in-line)
Copy codeThe Code is as follows: @ echo off
C:
Cd \
Attrib-s-h-r copy.exe
Del copy.exe/F
Attrib-s-h-r host.exe
Del host.exe/F
Attrib-s-h-r *. inf
Del autorun. inf/F
D:
Cd \
Attrib-s-h-r
This is a virus cleanup method long ago.
1. Find the pagefile. pif file of drive d to see when it was created. Deleted.
2. Use the System Restoration function to restore the system to the date before the virus was generated. In this way, there will
Lower region address
@ [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced \ Folder \ Hidden \ showall] "regpath" = "SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced "" text "=" @
I recently got a new host. I strongly recommended it to my boss to use an SSD as the system disk. The speed is really a big four. It's so nice !!!
I checked it online and found that there are still a lot of precautions for using SSD. The main
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.