There are many attributes possessed by a file or folder such as:
1. System ->S
2. Archive ->A
3. Read only ->R
4. Hidden ->H
A - (Minus) sign before an attribute means removing attributes and +(plus) sign mean giving attributes to the respective file or folder.
For eg. attrib -r-a-s-h a.txt will remove all attributes from the file and replacing ‘-‘ sign with ‘+’ will add all the attributes to the file a.txt.
STEPS TO DELETE THE VIRUS :
1). Go to the command prompt by start>all programs>accessories>command prompt.
2). Open the drive where you want to delete virus eg. write f: to go to F drive .
3.)when you reach in specified drive press dir/w/a. it will show all the files of that drive including the hidden ones.
4.)Identify AUTORUN.INF and VIRUS in the directory.
5.)Use command –r -a -s -h to remove the attributes of corresponding file.(see syntax in eg. given above).
6.)Type the command del autorun.inf to delete autorun file first.
7.)Again type del name-of-virus.exe to delete it.
8.)Your virus is removed but there is a probability of virus residing in recycler folder and to remove it you have to navigate recycler using command cd recycler and follow steps 3-7.
Finally your drive is free of viruses.
Easy na……! I promise you will be safe…
1. System ->S
2. Archive ->A
3. Read only ->R
4. Hidden ->H
A - (Minus) sign before an attribute means removing attributes and +(plus) sign mean giving attributes to the respective file or folder.
For eg. attrib -r-a-s-h a.txt will remove all attributes from the file and replacing ‘-‘ sign with ‘+’ will add all the attributes to the file a.txt.
STEPS TO DELETE THE VIRUS :
1). Go to the command prompt by start>all programs>accessories>command prompt.
2). Open the drive where you want to delete virus eg. write f: to go to F drive .
3.)when you reach in specified drive press dir/w/a. it will show all the files of that drive including the hidden ones.
4.)Identify AUTORUN.INF and VIRUS in the directory.
5.)Use command –r -a -s -h to remove the attributes of corresponding file.(see syntax in eg. given above).
6.)Type the command del autorun.inf to delete autorun file first.
7.)Again type del name-of-virus.exe to delete it.
8.)Your virus is removed but there is a probability of virus residing in recycler folder and to remove it you have to navigate recycler using command cd recycler and follow steps 3-7.
Finally your drive is free of viruses.
Easy na……! I promise you will be safe…
No comments:
Post a Comment