Jump to content

How do i force delete a file via CMD in Windows 7?

CaptainChaos025

So im trying to delete a file which i called "to be deleted" (just trying to see if it works) but whenever i type

 

del /f to be deleted 

 

It says it cant find it. Its a MS Word / .docx file and its on drive E

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Glenwing said:

if the filename has spaces in it, you need to put quote marks around it. Also include the extension in the filename.

Still cant find it, an i doing this correct then though?

15684000545304961506280890470576.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, CaptainChaos025 said:

Still cant find it, an i doing this correct then though?

You're in the C:\Windows\system32 folder right now. Unless your file is located there, it's not going to find it. You need to navigate to the correct folder first (cd "E:\folder_path")

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Glenwing said:

You're in the C:\Windows\system32 folder right now. Unless your file is located there, it's not going to find it. You need to navigate to the correct folder first (cd "E:\folder_path")

Ok, how do i go further now?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×