Windows 10: CMD becomes smaller and instantly closes: Can't use CMD

Discus and support CMD becomes smaller and instantly closes: Can't use CMD in Windows 10 BSOD Crashes and Debugging to solve the problem; Hello. I've been having trouble using the command prompt recently. Whenever I open it, by any means, it quickly shrinks and closes, without me being... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by MateusSereno, Dec 15, 2018.

  1. CMD becomes smaller and instantly closes: Can't use CMD


    Hello. I've been having trouble using the command prompt recently. Whenever I open it, by any means, it quickly shrinks and closes, without me being able to use it.

    I've already tried opening it as administrator, and executing it with the "/k" suffix.

    Extra info 1: When I run the Power Shell (admin), and type in "cmd", the Power Shell version of the CMD is shrunk to the same smaller size. However, it doesn't close. So this means, yes, I can run the cmd indirectly through the Power Shell, but that is not my intention. My intention is to fix the cmd.

    Extra info 2: When I change the console dimensions, it only affects the "pre-shrink" dimensions. The shrunk dimensions remain the same, always.

    Extra info 3: When I run a c++ console application, it works all right. However, if I use any "system" functions (cls, pause, title, etc...), the console shrinks at the moment of it's execution and the program terminates. This makes me believe the problem is not with the console, but somewhere both cmd and system functions access... By the way, I noticed the problem for the first time while working with cpp applications, and this is the issue that annoys me the most.

    These screenshots illustrate what happens when I try oppening the cmd via normal means, for example:


    CMD becomes smaller and instantly closes: Can't use CMD 4cce3477-ab57-4828-836b-ad97f42404de?upload=true.png
    1: The normal-sized cmd flashes for a very brief moment (it was hard capturing it).
    This momentary window does get affected by edits in the console screen size

    CMD becomes smaller and instantly closes: Can't use CMD 858022e2-b6c3-4304-942a-46a72f082e5a?upload=true.png
    2: It imediately shrinks to this tiny window. This one lasts for a split second.

    3: It quickly closes
    .


    Please, help me fix my cmd. This issue is annoying me a lot and has been rendering useless many of my applications wich rely on the "system".

    :)
     
    MateusSereno, Dec 15, 2018
    #1

  2. CMD keeps popping up and instantly closes

    Hello,

    Since i downloaded the new version of windows 10 (the one where you got the 3d print feature) i have been getting cmd pop ups all the time. The cmd pops up for like a split second and closes again. I have been looking all over the internet but didn't find
    a solution. i am hopping anybody out here can help me.

    Thanks in advance
     
    Thijs van Haaster, Dec 15, 2018
    #2
  3. Windows and CMD- renaming a file in CMD

    Steps I've done

    Here what happens


    • turn on PC

    • start windows

    • get blue screen ( message NTFS file)

    • it reboots returns to diagnosing PC

    • Diagnose and repair fails

    • I move to advance options

    • will not reset windows , I click on CMD

    things I've tried
    commands:

    reagentc /disable

    reagentc /enable

    *************************FAILED
    not recognized
    **********************************

    Please advise


     
    RandallBrock, Dec 15, 2018
    #3
  4. CMD becomes smaller and instantly closes: Can't use CMD

    CMD not working.


    My CMD is not opening. Everything else seems perfect and powershell works. Anyone know how to repair it? I tried the restore health line in powershell, it didn't work.

    EDIT: I opened just now and it said something about sound mixer, sat for a min and closed out. Then trying to open it again and instantly closes.....
     
    DigDugFighter, Dec 15, 2018
    #4
Thema:

CMD becomes smaller and instantly closes: Can't use CMD

Loading...
  1. CMD becomes smaller and instantly closes: Can't use CMD - Similar Threads - CMD becomes smaller

  2. CMD keeps popping up and closing instantly

    in Windows 10 Gaming
    CMD keeps popping up and closing instantly: Hi, I updated my computer to Windows 11 recently, and I updated everything in my PC. But my cmd is popping up and closing instantly, and it disturbs me. Is there any way to fix it?. I saw some threads in this site but unfortunately I do not have the same bug as I saw.My cmd...
  3. CMD keeps popping up and closing instantly

    in Windows 10 Software and Apps
    CMD keeps popping up and closing instantly: Hi, I updated my computer to Windows 11 recently, and I updated everything in my PC. But my cmd is popping up and closing instantly, and it disturbs me. Is there any way to fix it?. I saw some threads in this site but unfortunately I do not have the same bug as I saw.My cmd...
  4. Windows CMD opened application using START - application closes when CMD window closes.

    in Windows 10 Software and Apps
    Windows CMD opened application using START - application closes when CMD window closes.: In my environment I cannot do anything until I'm connected to my company's VPN. So, there are several apps that I don't want to start until I'm connected: Outlook, OneDrive and Teams. I created a simple BAT file that I execute after I am connected. I've been using this for...
  5. Windows CMD opened application using START - application closes when CMD window closes.

    in Windows 10 Gaming
    Windows CMD opened application using START - application closes when CMD window closes.: In my environment I cannot do anything until I'm connected to my company's VPN. So, there are several apps that I don't want to start until I'm connected: Outlook, OneDrive and Teams. I created a simple BAT file that I execute after I am connected. I've been using this for...
  6. CMD and Powershell instantly closes after opening it.

    in Windows 10 BSOD Crashes and Debugging
    CMD and Powershell instantly closes after opening it.: For I think a few years now, whenever I open CMD, Powershell or something similar, it is there for a few seconds and I can use it but then it just randomly closes.I have been looking for fixes for so long can someone please help me?...
  7. CMD and Powershell instantly closes after opening it.

    in Windows 10 Gaming
    CMD and Powershell instantly closes after opening it.: For I think a few years now, whenever I open CMD, Powershell or something similar, it is there for a few seconds and I can use it but then it just randomly closes.I have been looking for fixes for so long can someone please help me?...
  8. CMD and Powershell instantly closes after opening it.

    in Windows 10 Software and Apps
    CMD and Powershell instantly closes after opening it.: For I think a few years now, whenever I open CMD, Powershell or something similar, it is there for a few seconds and I can use it but then it just randomly closes.I have been looking for fixes for so long can someone please help me?...
  9. CMD promt opens and closes instantly.

    in Windows 10 BSOD Crashes and Debugging
    CMD promt opens and closes instantly.: I tried SFC and Anti-virus scans, both of these failed to fix it. I managed to capture the CMD screen using ShadowPlay https://answers.microsoft.com/en-us/windows/forum/all/cmd-promt-opens-and-closes-instantly/bfc9daab-0f8f-4afd-acef-45893f5d10b2
  10. [SOLVED] CMD becomes smaller and instantly closes: Can't use CMD

    in Windows 10 BSOD Crashes and Debugging
    [SOLVED] CMD becomes smaller and instantly closes: Can't use CMD: Hello. I've been having trouble using the command prompt recently. Whenever I open it, by any means, it quickly shrinks and closes, without me being able to use it. I've already tried opening it as administrator, and executing it with the "/k" suffix. Extra info 1: When I...