Solved help need help with cmd line

December 13, 2011 at 13:35:18
Specs: Windows XP
does closing cmd end the command being ran?

does closing the cmd as in pressing the x on the corner, kill the commands being ran in the window?

example i had a del /f/s/q filepath running deleting a bunch of files

i wanted to close it and stop the deletion

i just closed the cmd window

did that terminate the deletion of files or is it still running in the background?
how can i view what cmd is doing if i closed the window?
please help me

See More: help need help with cmd line

Report •

December 13, 2011 at 14:54:35
✔ Best Answer
Closing the command window may or may not kill the command, depending on what command is being executed.

The correct way to terminate a command executed from a command windows is Cntrl-Break.

Even that doesn't always work.


Report •

December 13, 2011 at 14:56:02
thank you stuart for replying

the command that was running was the example one
del /f/s/q server/folder/folder

any idea if this is one that would terminate if closed the window not the CTRL +C?

Report •

December 13, 2011 at 15:08:14
I dont know if del would terminate and I am not about to try and find out. Using /q is lekley to lessen the chance of the command not terminating as it will not return to the command interpreter until the command is completed.

These easiest way to find out is to look to see if the files you wanted deleted were actually deleted or not.


Report •

Related Solutions

Ask Question