Re: Holding cmd window open
- From: "Richard Urban" <richardurbanREMOVETHIS@xxxxxxxxxxx>
- Date: Fri, 13 May 2005 01:39:38 -0400
Create a shortcut to the command prompt on the desktop. Name the shortcut
for the task.
Ex: Check Drive C
Now go to the shortcuts properties. At the end of the initiation string (on
the target line) enter a "space". Then type /K. Then enter another space.
Then type your command.
Example: %SystemRoot%\system32\cmd.exe /k chkdsk c:
This will open the command prompt, run chkdsk on drive C, and keep the
window open till you X out of it!
Move the shortcut wherever you want it to finally be.
--
Regards,
Richard Urban
aka Crusty (-: Old B@stard :-)
If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!
<johnsuth@xxxxxxxxxxxxx> wrote in message
news:c1.2c.2wcgFX$0IL@xxxxxxxxxxxxxxxxxxxxxx
>
> Many MS tools have an .exe name and a cmd window icon. When I double
> click on the icon to run the tool, the cmd window opens, the program runs,
> and the window closes before I can read the output.
>
> How can I hold the window open to enable reading the output?
>
>
.
- References:
- Holding cmd window open
- From: johnsuth
- Holding cmd window open
- Prev by Date: User Accounts
- Next by Date: Re: Microphone
- Previous by thread: Re: Holding cmd window open
- Next by thread: Re: Cannot Copy file - Access denied
- Index(es):
Relevant Pages
|