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

08 Jul 2016   #11
HAVOC

Windows 7 Professional 64bit
 
 

On the last drive now. I guess I'll be careful and not close the command window if something is running. Still not sure if I "broke" anything.


My System SpecsSystem Spec
.
08 Jul 2016   #12
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

I don't think you hurt anything as long as Windows 7 is working properly.

Just for caution; when your done doing your Clean All on all the desired drives you could run a sfc /scannow.
We have a tutorial if need be.
My System SpecsSystem Spec
08 Jul 2016   #13
HAVOC

Windows 7 Professional 64bit
 
 

Running sfc now following the tutorial:
SFC /SCANNOW Command - System File Checker
My System SpecsSystem Spec
.

08 Jul 2016   #14
HAVOC

Windows 7 Professional 64bit
 
 

Found no integrity violations (ran 3 times).
My System SpecsSystem Spec
08 Jul 2016   #15
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

I think you and your computer are happy with each other again.

Happy computing.
My System SpecsSystem Spec
09 Jul 2016   #16
Eric3742

Windows 7 x64
 
 

There is a way to know what is running in the background.

Press+Hold both Ctrl + Alt and press Del.

Select "Start Task Manager"
My System SpecsSystem Spec
09 Jul 2016   #17
HAVOC

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by Eric3742 View Post
There is a way to know what is running in the background.

Press+Hold both Ctrl + Alt and press Del.

Select "Start Task Manager"

I know that. I was wondering what happens to the command that is running if you accidentally close the command window. I checked task manager after closing the window and cmd.exe was not running but the light on the HDD dock was still flashing like it was doing something.
My System SpecsSystem Spec
10 Jul 2016   #18
Eric3742

Windows 7 x64
 
 

There is no need to worry about these programs still running or not.
Not only on Windows window, it still check on DOS mode in Windows.

As to my knowledge, if the HDD light is flashing, this means that the system is reading the HDD, not writing.
When the HDD light is on/stable, this means the the system is writing to a particular HDD.
This problem will arise if you have more than 1 HDD.

But all this is not to worry on whether it will damage your HDD.
As to what i means, if there is 2 or more internal HDD, as to which HDD is still running active programs.

For External HDD, you can see light on the External HDD, flashing or not (option).

When you click "Shutdown", the system to check for any programs still running in the background.
If it there is a program is open, the system will find a way to end the programs SAFELY, a few seconds more to turn off.
It may not corrupted any HDD(s) and the system will only shutdown after terminating the active program.

I am use to do straight power off, without the shutdown command, as i know what is the programs i want to terminate.

Note:
If the system did not do a proper shutdown command.
Upon next boot up, the Windows would request you to choice on Safe mode, or normal mode.
Usually i choose normal mode to boot into Windows OS.
After the Windows OS boot up without any problem, i will do a shutdown; then boot up again.
In this way, the system know that it had done a proper shutdown, and no prompt on boot up again.
My System SpecsSystem Spec
10 Jul 2016   #19
HAVOC

Windows 7 Professional 64bit
 
 

The activity light for the external HDD dock is what I'm referring to, not the HDD light for the computer.
My System SpecsSystem Spec
11 Jul 2016   #20
Eric3742

Windows 7 x64
 
 

Quote   Quote: Originally Posted by HAVOC View Post
The activity light for the external HDD dock is what I'm referring to, not the HDD light for the computer.
Same as internal HDD.
Flashing is reading. Will not damage the HDD if sudden power off.
(My previous company IT Administrator just unplug the Ext HDD /devices, as he told me it is not a problem.)
Stable is writing, as best let it finished.
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 01:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App