Hello There, Guest!

l Register
Current time: 03-28-2024, 10:09 PM
facebook twitter youtube google+ feedburner
  • http://tricksduniya.com
  • Welcome the world of CRYPTO CURRENCY
  • visit daily
  • For Whatsapp Official Group Contact Our Modrate
  • Mr. Paramjit Singh = 08295205000
  • Mr. Mack = 08295943112


Tricks Duniya -ONLINE SHOPPING GUIDE, MOBILE TRICKS, ANDROID TRICKS, HACKING > COMPUTER ZONE > WINDOW TRICKS > How To Force Delete File & Folder Using Command Prompt In Windows >

 Replies: 0    views: 400
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How To Force Delete File & Folder Using Command Prompt In Windows
Download App
11-16-2015, 01:19 PM,
Offline
Webmaster & Programmer
Joined: Jul 2015
Mesajlar : 913
Konular:
Rep Puanı: 5

Points: 406.08₹
Points: 406.08₹
8601402287
#1
How To Force Delete File & Folder Using Command Prompt In Windows

One of these things where the command prompt might be your ultimate hope, is when your computer gets infected and once you’ve cleaned it, no matter how long you try, there remain many files and folders that would simply refuse to be deleted.
It becomes extremely important to delete these files as there will be a chance of the infection recurring.

You can even use the command prompt on windows to delete files which are refusing to be deleted via the windows explorer. Here’s how you can use the command prompt on windows to forcefully delete files and folders.




## How to Delete a Single File Using the Command Prompt in Windows??

Step 1: Run the Command prompt on windows. (Windows + R, type CMD)

Step 2: Now you will need to type the following into the command line and press enter.

DEL /F /Q /A


>> Where ——
/F parameter stands or force deletion of files
/Q parameter ensures the Forces deletion of read-only files
/A parameter will select only the files with the ready for archiving attribute
this thing is you have to replace with the path of the file or folder.

>> For example ——
DEL /F /Q /A C:\Users\TricksDuniya\xyz.txt


Step 3: After entering this line , hit Enter & your file will get deleted successfully.





## How to Delete a Folder Using the Command Prompt in Windows??

Step 1: Run the Command prompt on windows. (Windows + R, type CMD)

Step 2: Now you will need to type the following into the command line and press enter.

RD /S /Q


>> Where ——
RD stands for Remove Directory
/S deletes all subfolder and files
/Q Deletes directories without confirmation.

>> For example ——
RD /S /Q C:\Users\TricksDuniya\Folder


Step 3: After entering this line , hit Enter & your file will get deleted successfully.





NOTE :- Use this method if you are familiar with the command prompt. If the instructions are not followed properly, you might accidentally delete something else.

Possibly Related Threads…
How To Take Perfect Screenshots In Windows 7
11-16-2015, 01:19 PM
Reply
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How To Take Perfect Screenshots In Windows 7 Red 0 533 11-22-2015, 10:37 AM
Last Post: Red
  How To Capture Animated GIF Screenshots In Windows Avishkar Singh 0 380 11-16-2015, 12:12 PM
Last Post: Avishkar Singh
  How to Hide Drives from Users in Windows 7 Avishkar Singh 0 390 11-15-2015, 11:09 AM
Last Post: Avishkar Singh

Forum Jump:

Powered By Mack Doun
© 2015-2024 Paramjit Singh.
TricksDuniya theme TricksDuniya © 2015.