0

I am trying to full screen cmd when the computer starts and no I am not looking for mode 1000 or 800 I mean actually full screen. To do this you must press alt+enter but I don't know how to do this when the computer starts. Please help. EDIT: Win 10

  • 3
    Possible duplicate of [start batch file in fullscreen mode](http://stackoverflow.com/questions/24728958/start-batch-file-in-fullscreen-mode) – Ken White Oct 28 '16 at 00:05
  • Ken I did go to your link but there was nothing of use the code doesn't work –  Oct 28 '16 at 02:40
  • 1
    Maybe [Shell Launcher](https://msdn.microsoft.com/en-us/library/windows/hardware/mt571994(v=vs.85).aspx) is what you need. – MC ND Oct 28 '16 at 06:14

1 Answers1

0

If you have Autohotkey, this script will work.

Run cmd.exe
Send !{ENTER}

Save it as maximize.ahk and run it at startup.

--

Aside: I got pretty close using Batch+Jscript, but I couldn't get cmd win Win10 to recognize ALT. It recognizes pretty much every other key, though. I just thought I'd share just in case.

@if (@O)==(@O) @
@CScript //nologo //E:JScript "%~F0"
@exit /b @end
WScript.CreateObject("WScript.Shell").SendKeys("%~");
soja
  • 1,587
  • 8
  • 8
  • Thanks a million. This script is still EXTREMELY useful. –  Oct 30 '16 at 05:58
  • One quick thing how do you get it to work properly because when I add batch script at the end it still thinks I am trying to use JS –  Oct 30 '16 at 06:02
  • Put your batch script between the `@if` and `@exit`. The CScript line is where it puts itself into the JScript interpreter. – soja Oct 31 '16 at 01:50