₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,032 members, 8,448,269 topics. Date: Monday, 20 July 2026 at 06:26 AM

Toggle theme

Ellorisky's Posts

Nairaland ForumEllorisky's ProfileEllorisky's Posts

1 (of 1 pages)

ProgrammingRe: How To Remove A Virus From Usb Drive And SD Card Using CMD(command prompt)? by Ellorisky(op): 5:51pm On Apr 26, 2025
There are some apps that can help you remove it too.you just have to go through their trouble, like subscribing and paying for their services.
Programming7 Steps Of Coding Effectively by Ellorisky(op): 11:22am On Apr 25, 2025
What are the 7 steps of coding?
1. Define the Problem. Before writing any code, it's crucial to understand what you're trying to solve.
2. Plan the Solution. Once you understand the problem, plan how to solve it.
3. Write the Code.
4. Test the Code.
5. Debug and Refine.
6. Document the Code.
7. Maintain and Update.

ProgrammingRe: How To Remove A Virus From Usb Drive And SD Card Using CMD(command prompt)? by Ellorisky(op): 1:44am On Apr 21, 2025
ur welcome grin
TV/MoviesRe: All Anime Fans Gather Here!!! For Discussion!! by Ellorisky(op): 10:11pm On Mar 21, 2025
Everyday365:
😁
Rezero and solo leveling
Just finished konosuba
I think i might start rezero after completing all other anime am currently watching
TV/MoviesRe: All Anime Fans Gather Here!!! For Discussion!! by Ellorisky(op): 1:19pm On Mar 20, 2025
Then this will just be another thread cheesy
Everyday365:
check the TV and movies section
let's do this again
what's 10 anime you are currently stuck on ? wink

TV/MoviesRe: All Anime Fans Gather Here!!! For Discussion!! by Ellorisky(op): 12:36pm On Mar 20, 2025
where?
Everyday365:
There's already an anime thread.
TV/MoviesAll Anime Fans Gather Here!!! For Discussion!! by Ellorisky(op): 11:21am On Mar 19, 2025
Anime fans post 10 anime you are currently stuck on!!
1.Solo Leveling : Arise from the shadow
2.Dragon ball Daima
3.Sakamoto days
4.Dan Da Dan
5.Wind breaker
6.Demon slayer
7.kaiju no.8
8.ninja kamui
9.Blue lock vs U-20 Japan
10.My happy marriage season 2

ProgrammingRe: How To Remove A Virus From Usb Drive And SD Card Using CMD(command prompt)? by Ellorisky(op): 5:03pm On Mar 11, 2025
Pls try to follow each step carefully in detail to avoid system damage.
ProgrammingHow To Remove A Virus From Usb Drive And SD Card Using CMD(command prompt)? by Ellorisky(op):
How To remove a virus from an infected storage device using cmd(command prompt) on windows?
In fact, using command lines doesn't directly check and remove viruses from your computer or external storage device. CMD helps to achieve your goal of removing viruses by showing the hidden viruses on a partition or drive. Afterward, you can delete the suspicious files. Since viruses always conceal themselves, you need to make them appear and then delete the virus files. Then how can you show the potentially hidden virus files using CMD? All you need is the attrib command.

The attrib command is a Command Prompt command used to display, set, or remove the attributes of the files or folders in the selected location. By canceling the "hidden" attribute of the virus, you can see it appearing in the folder. And then you will know where to find and remove it.

How to Remove Virus Using CMD
Now, follow the steps below to delete viruses from your computer or storage device using CMD.

Step 1. Type cmd in the search bar, right-click "Command Prompt" and choose "Run as an administrator".

Step 2. Type F: and press "Enter". (Replace "F" with the drive letter of the infected partition or device.)

Step 3. Type attrib -s -h -r /s /d *.* and hit "Enter".

Step 4. Type dir and hit "Enter". Now you will see all the files under the assigned drive. (The dir command displays a list of a directory's files and subdirectories.)

Step 5. For your information, a virus name may contain words like "autorun" and with ".inf" as the extension. Thus, if you find such suspicious files, type del autorun.inf to remove the virus.

use cmd to remove virus in Windows 10

Here are the basic attributes of the 'attrib' command:

R – represents the "Read-only" attribute of a file or folder. Read-only means the file cannot be written on or executed.
H – the "Hidden" attribute.
A – stands for "Archiving" which prepares a file for archiving.
S – the "System" attribute changes the selected files or folders from user files into system files.
I - "not content indexed file" attribute.

The "attrib" Syntax:

ATTRIB [+ attribute | – attribute] [pathname] [/S [/D]]

In the above command, let's see what the different parameters and switches are:

'+ / –': To enact or to cancel the specified attribute.
'attribute': As explained above.
'/S': Searching throughout the entire path including subfolders.
'/D': Include any process folder.
'pathname': Path where the target file or folder is located.

Here is the proper syntax order for attrib command:

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I] [drive:][path][filename] [/S [/D] [/L]]

Warning
Be careful while using the Command Prompt. Improper use of cmd can result in system damage. So, perform data recovery in advance, and then continue with the CMD method.
If you receive the message "Access denied", you should:

Make sure you have run Command Prompt as an administrator
Make sure the file/folder is not in use
Check the permission of the current account and make sure you have full control over the file/folder (right-click the file/folder/partition and go to "Security"wink
Use CHKDSK command to check for file system errors (run Command prompt and enter chkdsk /f [drive letter]smiley
Manual execution of the command line is suitable for computer professionals, since incorrect commands can do more harm than good.

1 (of 1 pages)