Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Folder - Delete from Command Prompt

06 Oct 2015   #80
basilthacker

Windows 8 64 bit
 
 

I meant my entire problem, not just the use of an elevated command prompt.


My System SpecsSystem Spec
.
06 Oct 2015   #81
MLBFalcon

Windows 7 Home Premium 64 bit
 
 

I don't know if I'm doing it right.It just says:
The system cannot find the file specified.
I followed you're instructions correctly. Am I doing something wrong? I also used a elevated command prompt, but it still gives me the same response.
My System SpecsSystem Spec
06 Oct 2015   #82
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by basilthacker View Post
I meant my entire problem, not just the use of an elevated command prompt.
Were you able to delete the two folders using an elevated command prompt?

If not, then yes please give full details.
My System SpecsSystem Spec
06 Oct 2015   #83
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by MLBFalcon View Post
I don't know if I'm doing it right.It just says:
The system cannot find the file specified.
I followed you're instructions correctly. Am I doing something wrong? I also used a elevated command prompt, but it still gives me the same response.
Hello MLBFalcon, and welcome to Seven Forums.

Did you use the correct full path of the folder?

Which option are you using? If you are using a command prompt at boot, the drive letters are not always the same at boot as they are in Windows.
My System SpecsSystem Spec
.

07 Oct 2015   #84
basilthacker

Windows 8 64 bit
 
 

Well, this folder is extremely stubborn. Here is my process and sorry for the length of this post:

I tried deleting it first.
Folder - Delete from Command Prompt-screenshot_1_.jpg

It failed.
Folder - Delete from Command Prompt-screenshot_2_.jpg

I then tried using a command prompt to delete it.
Folder - Delete from Command Prompt-screenshot_3_.jpg

That failed too.
Folder - Delete from Command Prompt-screenshot_4_.jpg

I created a batch file; one that was recommended to someone with a similar issue to me.
Folder - Delete from Command Prompt-screenshot_5_.jpg

This one did not work.
Folder - Delete from Command Prompt-screenshot_6_.jpg

I decided to break out the big guns: the elevated command prompt.
Folder - Delete from Command Prompt-screenshot_7_.jpg

Nope, still there.
Folder - Delete from Command Prompt-screenshot_8_.jpg


What do?


My System SpecsSystem Spec
07 Oct 2015   #85
Brink

64-bit Windows 10 Pro
 
 

Stubborn indeed. If you like, see if the free program Unlocker may be able to delete it.
My System SpecsSystem Spec
07 Oct 2015   #86
basilthacker

Windows 8 64 bit
 
 

Hey guys, guess what.
Folder - Delete from Command Prompt-screenshot-9-.png

Didn't work either.
Folder - Delete from Command Prompt-screenshot-10-.png


My System SpecsSystem Spec
07 Oct 2015   #87
Brink

64-bit Windows 10 Pro
 
 

If you click on Yes in the second screenshot, does it delete it for you then?
My System SpecsSystem Spec
07 Oct 2015   #88
basilthacker

Windows 8 64 bit
 
 

Nope, still here after reboot.
My System SpecsSystem Spec
07 Oct 2015   #89
Brink

64-bit Windows 10 Pro
 
 

See if you are able to rename the "New Folder" folder, and be able to delete it afterwards.

If not, see if you are able to delete the contents of the folder, then see if you are able to delete the folder.

If still not, take ownership of the folder, and see if you are able to delete it afterwards.

Take Ownership Shortcut
My System SpecsSystem Spec
Reply

 Folder - Delete from Command Prompt




Thread Tools




Similar help and support threads
Thread Forum
File - Delete from Command Prompt
How to Delete a File in Windows from the Command Prompt This tutorial will show you how to permanently delete a File in Vista, Windows 7, or Windows 8 using the DEL or ERASE command from within a command prompt. This can be handy if you cannot delete the file normally.While you can run...
Tutorials
How do I Close an opened folder in Run or at the Command prompt
I have an application that opens a folder using a shell to Explorer. I can close Most apps I shell using Taskkill but not the opened folder. I have tried Openfiles with no luck ( I think it is for networks). I need this to tidy up an application. Thank you.
General Discussion
double clicking a folder opens a command prompt
dear sir, till yesterday. it was ok. since today morning, this problem appears. when i double click a folder to open it, it asks for permission to open with windows command processor. if i click on yes, a command prompt appears and commands keep on scrolling. if i right click on the folder, then...
General Discussion
command line to delete folder contents
What line in a batch file would delete the contents of C:\Users\MyName\AppData\Local\Microsoft\Windows\Temporary Internet Files\ ? del /F /S /Q /A "C:\Users\MyName\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*" fails, so does del...
Performance & Maintenance
Script or command to delete contents of Software Distribution folder?
Hi all. Anyone able to suggest a vbs (or command-line file) to clean out C:\Windows\Software Distribution\Download? Thanks, I'm aware of the significance (or lack of) of this folder, and I realize I could just drill down to it and manually dump the contents. I'm just looking for a more elegant...
Windows Updates & Activation
File and Folder - Rename from Command Prompt
How to Rename a File and Folder from the Command Prompt This will show you how to rename a file and folder using the REN or RENAME command from within a command prompt. This can be handy if you cannot rename the file or folder normally. Normally you would just right click on the file or...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App