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
    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
    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
    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
    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
    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
    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
    Close command prompt, right click on the command prompt icon and select "Run as administrator".
  • Question
    Does this work on Windows 10?
    Arrogance
    Top Answerer
    Yes. It works on all versions of Windows.
Ask a Question

      Return to Full Article