• About
  • Contact

Things For Computers

  • Home
  • Earn Money
    • Free Lance
    • 13 Trusted Sites to Make Money
  • Tricks
    • Faceook Tricks
    • Computer Tricks
    • Internet Tricks
    • Blogger Tricks
    • Chrome Tricks
    • Firefox Tricks
    • Funny Tricks
    • Google Tricks
    • Hacking Tricks
    • Notepad Tricks
    • Virus Tricks
    • Youtube Tricks
    • Whatsup Tricks
    • Amazon Tricks
    • Alexa Tricks
  • Free Internet
    • Mobilink Tricks
    • Zong Tricks
    • Telenor Tricks
    • Ufone Tricks
    • Warid Tricks
    • Airtel Tricks
  • Softwares
    • Latest Softwares
    • Utility Softwares
    • Computer Software
  • Blogging
    • Blogging Tips
    • Blogger Tricks
    • Blogger Widgets
    • Blogger Templates
Home » Tips-Tricks » Virus Tricks » How to Remove Computer Virus Using Command Prompt (CMD)...???

How to Remove Computer Virus Using Command Prompt (CMD)...???

Hasan
Add Comment
Tips-Tricks, Virus Tricks
Computer Virus

Each file and folder have the following attributes:

1).  Archive A
2).  Read Only R
3).  Hidden H
4).  System S
-(minus) sign before an attribute it means removing attributes and +(plus) sign mean giving attributes to the file or folder.
example ) attrib -r -a -s -h file.txt  this will remove all attributes from file.txt  and attrib +r +a +s +h file.txt  will give all attributes to file.txt .
If pen drive or other hard drive is infected by virus ,Command prompt is the best option.Follow the steps given below.

1).  Go to the command prompt by start>all programs>accessories>command prompt or press windows key+r and enter cmd .

2).  Go to the drive where you want to delete virus example write d: to go to D drive .

3).  Type “attrib -r -s -h *.* /s /d” without quotations  and press enter .

4)press dir /a .

5).  Delete all the .inf, .exe , .dll, .log extension file if they are not your files by using dos del command .

Example:
del autorun.inf
if any file is not deleting rename that file by rename command
Example:  rename dst.exe ms.bak this will rename dst.exe to ms.bak

Now Your pen drive is virus free .
Tweet
How to Remove Computer Virus Using Command Prompt (CMD)...??? Title : How to Remove Computer Virus Using Command Prompt (CMD)...???
Description : Computer Virus Each file and folder have the following attributes: 1).  Archive A 2).  Read Only R 3).  Hidden H 4).  System S -(minus) sign...
Rating : 5

0 Response to "How to Remove Computer Virus Using Command Prompt (CMD)...???"

← Newer Post Older Post → Home
Subscribe to: Post Comments (Atom)

Back to top!