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: closing command prompt in the middle of an operation

05 Jul 2016   #1
HAVOC

Windows 7 Professional 64bit
 
 
closing command prompt in the middle of an operation

I was doing a clean all command on one of my HDD's. I was closing windows and accidentally closed the command prompt window. The drive is in an external dock and the light is still flashing like it's still doing what I asked it to do.

I reopened CMD and typed diskpart but that's as far as I took it. I haven't checked what services are running.


My System SpecsSystem Spec
.
05 Jul 2016   #2
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Can you reboot back into Windows 7?
If you can, then just try the cmd again on the selected drive. Of course you can't select the drive/partition "C" that Windows 7 is installed.

If you can completing this tutorial by Golden would be helpful.

Disk Management - Post a Screen Capture Image
My System SpecsSystem Spec
05 Jul 2016   #3
HAVOC

Windows 7 Professional 64bit
 
 

I never logged off of Windows. I was closing multiple windows (not the OS), and I clicked on the X for the CMD prompt. I reentered the diskpart/clean all command on the drive and it seems to working.
My System SpecsSystem Spec
.

05 Jul 2016   #4
HAVOC

Windows 7 Professional 64bit
 
 

Here is the snip. #3 is the drive I'm cleaning.


Attached Images
closing command prompt in the middle of an operation-hdd.png 
My System SpecsSystem Spec
05 Jul 2016   #5
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

I'm curious.
Please complete the tutorial as the tutorial is wrote.

I try to remember that a reboot or shutdown and startup can have a cleansing effect after a small boo boo.
My System SpecsSystem Spec
05 Jul 2016   #6
HAVOC

Windows 7 Professional 64bit
 
 

I restarted the computer. Here is the screenshot of disk management. I'm also running clean all again.


Attached Thumbnails
closing command prompt in the middle of an operation-disk-mgmt.png  
My System SpecsSystem Spec
05 Jul 2016   #7
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Did you or are you running the Clean All cmd on disk 3?

Did it complete? That big of drive would take a lot of time.

Remember that a drive (Disk 3) might not show up as (Disk #3) in the cmd prompt. One must be sure of what disk the Clean All command is done on.
My System SpecsSystem Spec
06 Jul 2016   #8
HAVOC

Windows 7 Professional 64bit
 
 

The screenshot above is before I started the clean all command. The command prompt says succeeded so I started on my other drives. I have 11 HDD's that I wasn't sure what if anything was on them so I wanted to erase them.
My System SpecsSystem Spec
06 Jul 2016   #9
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

If I had to do what you are trying to do, I would do it in this fashion.
Cleaning 11 HDD will take a very long time.

1. Remove all drives except the drive Windows 7 is installed and 1 other HDD.

2. Do a Clean All on that 1 drive.

3. When the 1 drive has been cleaned, replace it with another drive and run the Clean All cmd on that drive.

Do this until all the drives you want cleaned has been completed.
This method will allow you to keep track of what has been completed and make sure that any drives you don't want cleaned are not cleaned.
My System SpecsSystem Spec
06 Jul 2016   #10
HAVOC

Windows 7 Professional 64bit
 
 

That's what I'm doing. The drives came out of computers that I built/disassembled. I have them in a pile and was cleaning them one by one. I'm almost done, I'm doing the last one as I type this.
My System SpecsSystem Spec
Reply

 closing command prompt in the middle of an operation




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Is There a Silent Command-Line Operation to change theme?
Is there a way to change themes from the command-line, without showing the "Personalization" window? The command I use right now is rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"C:\Windows\Resources\Ease of...
Themes and Styles
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
Command Prompt: Repeat del command continuosly
Hi All, I'm running a program that parses .csv files and then changes them into ._OK files. This process takes longer when there are a large number of *.OK files in the folder where the files being converted are located. To remedy this I occasionally manually run this command: del *._OK ...
General Discussion
"Copy" command in command prompt generates 0x1a artifact?
Hello Everybody! I don't know if this is a real issue, or just one of those "What the . . . .!!" situations. You judge. Situation: I was working on a batch file that combines two .txt (ASCII?) files created in Notepad to create a composite file, and I noticed something really interesting. ...
Software
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion


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 12:11.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App