View Full Version : Shut down programs from command line
Robert
December 5th 03, 01:32 AM
>-----Original Message-----
>You might take a look here:
>Windows XP Shutdown Troubleshooter
>http://aumha.org/win5/a/shtdwnxp.htm
>.
Thanks for the link. While there is a wealth of info,
it has nothing to do with shutting down Windows programs
(just Windows itself) with a batch file command. Also,
anyone have any info on this mysterious "Taskkill"
command, which is mentioned in the XP help file but
doesn't work?
Sharon F
December 5th 03, 01:39 AM
On Tue, 24 Jun 2003 17:35:48 -0700, "Robert" > wrote:
>
>>-----Original Message-----
>>You might take a look here:
>>Windows XP Shutdown Troubleshooter
>>http://aumha.org/win5/a/shtdwnxp.htm
>>.
>Thanks for the link. While there is a wealth of info,
>it has nothing to do with shutting down Windows programs
>(just Windows itself) with a batch file command. Also,
>anyone have any info on this mysterious "Taskkill"
>command, which is mentioned in the XP help file but
>doesn't work?
If you have a retail CD of XP, taskkill should be in one of the extra
folders. I believe the folder is named "Tools."
Sharon F
MS MVP [Shell/User]
Rick \Nutcase\ Rogers
December 21st 03, 04:26 PM
Hi Dave,
When you use the command line you can specify which parameters you want to
apply to each task. The GUI only offers two options, there are times when
you will want more.
--
Best of Luck,
Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org
"Dave" > wrote in message
...
> Can someone tell me if there is some benefit using a command line to
perform a function
> rather than using windows? Specifcially, If I use the command: chkdsk /r
or f rather than
> using windows check disk function from right clicking on C: and selecting
properties, then
> tools, then checking the box.
> Isn't that the same function? Is it necessary for me to do both, command
line function, and
> using windows check disk function I mean? Or is one enough, and which one
is better.
> Thanks
The Unknown P
December 21st 03, 04:26 PM
Nutcase is correct in his statement but as usual expects the newbie to know more than he does. In order to better understand what Nutcase is referring to open the command line interface and then type in chkdsk /? and you will see a collection of parameters
that you can specify and how to apply them. Now your assertion is correct going chkdsk /r does nothing more than using the tool by right clicking your main drive in My Computer and clicking properties\tools\error checking. In the command line interface t
here are tons of things you can do. Instead of specifying any start parameter simply open the command line interface and type in help and hit enter. You will now see an entire list of recognized commands. Once you see a command then simply do as you did w
ith chkdsk to find the full parameter options. for example type in chdir /? and you will be shown a full set of acceptable parameters along with and explanation underneath. This is not as simple as it may seem but if you want to learn then this is a good w
ay to start. Be careful though. Some of the commands you type here affect the OS globally(everyone) and you could type in something that will make it extremely difficult to boot or recover your system. So remember when learning there are only three rules y
ou need to know. 1\backup 2\backup 3\backup. Good luck.
Gene K
December 21st 03, 04:26 PM
In XP, you can select either the /f or /r Parameters in the Properties
Section of My Computer. Unless you really know your stuff or have real disk
problems,all you really need to execute is the /f switch if yoy file system
is NTFS.
Gene K
The Unknown P wrote:
> Nutcase is correct in his statement but as usual expects the newbie
> to know more than he does. In order to better understand what Nutcase
> is referring to open the command line interface and then type in
> chkdsk /? and you will see a collection of parameters that you can
> specify and how to apply them. Now your assertion is correct going
> chkdsk /r does nothing more than using the tool by right clicking
> your main drive in My Computer and clicking properties\tools\error
> checking. In the command line interface there are tons of things you
> can do. Instead of specifying any start parameter simply open the
> command line interface and type in help and hit enter. You will now
> see an entire list of recognized commands. Once you see a command
> then simply do as you did with chkdsk to find the full parameter
> options. for example type in chdir /? and you will be shown a full
> set of acceptable parameters along with and explanation underneath.
> This is not as simple as it may seem but if you want to learn then
> this is a good way to start. Be careful though. Some of the commands
> you type here affect the OS globally(everyone) and you could type in
> something that will make it extremely difficult to boot or recover
> your system. So remember when learning there are only three rules you
> need to know. 1\backup 2\backup 3\backup. Good luck.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.