Results 1 to 7 of 7
  1. #1
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    S.F. Bay Area, California, USA
    Posts
    735
    Thanks
    15
    Thanked 80 Times in 78 Posts

    N00B question on Win 7 RUN commands

    Hep me, I be hypmotized:

    If I run a command to show data such as "CHKDSK /?" the black "DOS" screen flashes instantly & disappears before I can read the data. I can circumvent this by using the "CMD" command, then typing in "CHKDSK /?" in the CMD window, but I feel I must be doing something wrong with the RUN interface. ??Is there a "pause" or "show results" switch I'm missing???

    Zig

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,594
    Thanks
    5
    Thanked 1,059 Times in 928 Posts
    NO. When you run a command which is executed in command mode and you are not in command mode a command mode window is opened, the command is executed and the window is closed.

    Joe

  3. #3
    New Lounger
    Join Date
    Jun 2012
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Chkdsk is a character mode application. Windows (normally in GUI mode) will set up the character mode environment to run the command then tear it down when the program is finished. CMD places you in character mode until YOU are finished. Try running 'notebook' from the run interface and you will see the difference.

  4. #4
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    S.F. Bay Area, California, USA
    Posts
    735
    Thanks
    15
    Thanked 80 Times in 78 Posts
    Try running 'notebook' from the run interface
    I can't run it in either mode.

    Zig

  5. #5
    New Lounger
    Join Date
    Jun 2012
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Is it possible to provide a little more information? Maybe we can figure out what's happening.

  6. #6
    3 Star Lounger jockmullin's Avatar
    Join Date
    Dec 2009
    Location
    St-Eustache,QC,Canada
    Posts
    239
    Thanks
    10
    Thanked 21 Times in 20 Posts
    If you want to see the output, you could use the following run command:
    cmd /K "chkdsk /?"

    This invokes cmd, tells it to run the command in quotes and stay resident (the /K parameter).
    When done, you can either close the cmd window using the X in the upper right corner, or else type EXIT and hit enter.

    notebook is not a standard windows program. I suspect maybe Ochie meant notepad.

    Jock

  7. #7
    New Lounger
    Join Date
    Jun 2012
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jockmullin View Post
    If you want to see the output, you could use the following run command:
    cmd /K "chkdsk /?"

    This invokes cmd, tells it to run the command in quotes and stay resident (the /K parameter).
    When done, you can either close the cmd window using the X in the upper right corner, or else type EXIT and hit enter.

    notebook is not a standard windows program. I suspect maybe Ochie meant notepad.

    Jock
    Yep, thank you. I didn't catch that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •