Q&A for How to Delete a File Using Command Prompt

Return to Full Article

Search
Add New Question
  • Question
    What is the extension type of a folder?
    Community Answer
    Community Answer
    Only files have extensions. Directories are handled differently by the filesystem, and thus do not need extensions.
  • Question
    Some type of virus installed to my PC and won't let me use Command Prompt. What should I do?
    Community Answer
    Community Answer
    Try running an antivirus program to eliminate the virus. If that doesn't work, you'll probably need to take your computer in to a tech department somewhere (e.g., Best Buy) and have them take a look at removing the virus.
  • Question
    When I typed "cd desktop" in Command Prompt's Administrative mode, it shows "the system cannot find the path specified". What should I do?
    Community Answer
    Community Answer
    You should open Command Prompt in its non-Admin format--e.g., "Command Prompt" instead of "Command Prompt (Admin)". Since Command Prompt (Admin) opens inside of the "System32" folder, you won't be able to open the desktop from there (because the "Desktop" folder is under your name in the "Users" folder, not in the "System 32" folder).
  • Question
    What command is used to delete all of the files from a diskette?
    Community Answer
    Community Answer
    This is the command to format the drive write this in notepad and save as anything.bat you can change the drive letter according to your comfort: @echo off Del C:\*.*|y
  • Question
    How do I delete an auto run virus form my USB?
    Community Answer
    Community Answer
    You will have to stop your PC from auto running programs from a USB. Then you can just delete it easily by accessing the USB. Another way is to boot into safe mode and try to insert your USB and delete it.
  • Question
    What do I do if a program is running as a background and cannot be removed?
    Community Answer
    Community Answer
    If you know what program is running in background, open up your Task Manager (or press Ctrl + Alt + Delete) and find the program in Process tab. Select it and click on "End Task."
  • Question
    What do I do if I am logged in as an admin, but my Windows 7 computer won't let me delete a file, asking for the admin password?
    Community Answer
    Community Answer
    Close command prompt, right click on the command prompt icon and select "Run as administrator".
  • Question
    Does this work on Windows 10?
    Arrogance
    Arrogance
    Top Answerer
    Yes. It works on all versions of Windows.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

Return to Full Article

You Might Also Like

Delete a File in Microsoft Windows Using Batch FilesDelete a File in Microsoft Windows Using Batch Files
Create and Delete Files and Directories from Windows Command PromptCreate and Delete Files and Directories from Windows Command Prompt
Locate Viruses Using the Attrib CommandLocate Viruses Using the Attrib Command
Delete a File or Folder Showing Error "Access Is Denied"Delete a File or Folder Showing Error "Access Is Denied"
Delete a File On Your ComputerDelete a File On Your Computer
Delete Files That Cannot Be DeletedDelete Files That Cannot Be Deleted
Delete DLL FilesDelete DLL Files
Use MS DOS Use MS DOS
Delete Corrupted Files Delete Corrupted Files on a PC or Mac
Copy Files in Command PromptCopy Files in Command Prompt
Run a Program on Command Prompt Run a Program at the Windows Command Prompt: 2 Ways
Remove Shortcuts from Desktop4 Easy Ways to Delete Shortcuts From Your Desktop + Fixes
List Every File on Your Hard Drive See Every File On Your Computer in CMD (Command Prompt)
Uninstall Apps on Windows 10Uninstall Apps on Windows 10