fullscreen batch
Moderator: DosItHelp
-
- Posts: 26
- Joined: 03 Dec 2013 12:34
fullscreen batch
i am making a prank and i need to make my code make the screen go fullscreen is it possible and if so can you post the code to do so
Re: fullscreen batch
You can not do that with pure Batch commands, you need a third party program (perhaps AutoIt can do it). My WINDOW.EXE auxiliary program can do that this way:
Antonio
Code: Select all
Window GSize MAX
Antonio
Re: fullscreen batch
Do you want to make a Windows GUI window full screen or a CMD prompt full screen?
After Windows XP the CMD prompt no longer goes full screen.
After Windows XP the CMD prompt no longer goes full screen.
-
- Expert
- Posts: 973
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
Re: fullscreen batch
Ed Dyreen wrote:cmdow is smaller and faster than an AutoIt executable.Code: Select all
cmdow.EXE @ /FS
This not work on windows 7 32bit.
-
- Expert
- Posts: 973
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
Re: fullscreen batch
Aacini wrote:You can not do that with pure Batch commands, you need a third party program (perhaps AutoIt can do it). My WINDOW.EXE auxiliary program can do that this way:Code: Select all
Window GSize MAX
Antonio
I can't try.
Work on windows 7 32bit?
Einstein1969
-
- Expert
- Posts: 973
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
Re: fullscreen batch
Can anyone tell if this method is a real fullscreen? I can not understand what he says ...
Or is it a simulation/Fake fullscreen?
Einstein1969
Or is it a simulation/Fake fullscreen?
Einstein1969
Re: fullscreen batch
Until windows xp you can use fullscreen after it you only can simulate maximizing the window. If you like i can write a small exe utility with source that do it.
Re: fullscreen batch
No, not on Vista, Win 7 or Win 8 and related distros.
XP was the last OS that CMD went into a full screen mode.
XP was the last OS that CMD went into a full screen mode.
Re: fullscreen batch
My mistake sorry, ( didn't use my glass ball )einstein1969 wrote:Ed Dyreen wrote:cmdow is smaller and faster than an AutoIt executable.Code: Select all
cmdow.EXE @ /FS
This not work on windows 7 32bit.

Re: fullscreen batch
This topic is interesting to me, because I wrote many old DOS programs that I would want run, or test at least, in full screen mode in my Windows 8 computer. However, the answer is useful for anyone that use the Command Prompt window. I spent several hours searching the web looking for a definite answer to this question, and I think I found it (in part, at least). This theme encomprises three different points:
A: How maximize the Command Prompt window to the entire screen?
Of course, you may do that via right-click on the Command Prompt title bar, choose Properties and adjust "Layout: Width/Height" until you get the desired result; however, this process is cumbersome and time-consuming. A simpler method to achieve the same result is this:
After that, new Command Prompt window sessions will open with this size; however, I suggest you to also complete these steps:
This way, the Command Prompt window will open with the standard size, but when you click the maximize button it will fill the screen!
B. How set the Command Prompt window to full screen mode?
That is, as pressing Alt+Enter in Windows XP, with no window border. The answer is: DISSABLE YOUR GRAPHICS DRIVER. The procedure to do that in Windows 7 is described at this post. I tried to do that in my Windows 8 computer; however, although I successfully disabled the graphics driver, the Command Prompt window still does not activate the full screen mode with Alt+Enter. It seems that we need more info about this point for Windows 8.
C. How develop a program that activate full screen mode in Windows Vista/7/8?
As far as I know, there is no way to do that. I still must review the window-management related Win-32 API functions searching for a way to eliminate the window frame, but I think I will not found it. Perhaps someone with a wider knowledge on this topic could give us an answer (carlos?).
This way, it seems that the video about this point posted by einstein1969 is fake...
Antonio
A: How maximize the Command Prompt window to the entire screen?
Of course, you may do that via right-click on the Command Prompt title bar, choose Properties and adjust "Layout: Width/Height" until you get the desired result; however, this process is cumbersome and time-consuming. A simpler method to achieve the same result is this:
- Open a Command Prompt window and enter: WMIC
- At the "wmic:root\cli>" prompt, click on the normal maximize button at top right. The Command Prompt window will fill the screen (thanks WMIC!).
- Enter EXIT to exit WMIC.
- Right-click the Command Prompt's title bar, choose Properties, click OK.
- Enter EXIT to exit Command Prompt.
After that, new Command Prompt window sessions will open with this size; however, I suggest you to also complete these steps:
- Open the Command Prompt window.
- Right-click the title bar, choose Properties and select a more standard size; for example: Layout: Window Width=80 Height=25, click OK.
- Enter EXIT.
This way, the Command Prompt window will open with the standard size, but when you click the maximize button it will fill the screen!
B. How set the Command Prompt window to full screen mode?
That is, as pressing Alt+Enter in Windows XP, with no window border. The answer is: DISSABLE YOUR GRAPHICS DRIVER. The procedure to do that in Windows 7 is described at this post. I tried to do that in my Windows 8 computer; however, although I successfully disabled the graphics driver, the Command Prompt window still does not activate the full screen mode with Alt+Enter. It seems that we need more info about this point for Windows 8.
C. How develop a program that activate full screen mode in Windows Vista/7/8?
As far as I know, there is no way to do that. I still must review the window-management related Win-32 API functions searching for a way to eliminate the window frame, but I think I will not found it. Perhaps someone with a wider knowledge on this topic could give us an answer (carlos?).
This way, it seems that the video about this point posted by einstein1969 is fake...
Antonio
-
- Expert
- Posts: 1167
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: fullscreen batch
The video is tricky. It looks like he somehow attached the command prompt to a C++ program, which in turn is then maximized. You can see the source code from about 1:09 to 1:20.
-
- Expert
- Posts: 973
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
Re: fullscreen batch
Aacini wrote:This topic is interesting to me, because I wrote many old DOS programs that I would want run, or test at least, in full screen mode in my Windows 8 computer. However, the answer is useful for anyone that use the Command Prompt window. I spent several hours searching the web looking for a definite answer to this question, and I think I found it (in part, at least). This theme encomprises three different points:
A: How maximize the Command Prompt window to the entire screen?
Of course, you may do that via right-click on the Command Prompt title bar, choose Properties and adjust "Layout: Width/Height" until you get the desired result; however, this process is cumbersome and time-consuming. A simpler method to achieve the same result is this:
- Open a Command Prompt window and enter: WMIC
- At the "wmic:root\cli>" prompt, click on the normal maximize button at top right. The Command Prompt window will fill the screen (thanks WMIC!).
- Enter EXIT to exit WMIC.
- Right-click the Command Prompt's title bar, choose Properties, click OK.
- Enter EXIT to exit Command Prompt.
After that, new Command Prompt window sessions will open with this size; however, I suggest you to also complete these steps:
- Open the Command Prompt window.
- Right-click the title bar, choose Properties and select a more standard size; for example: Layout: Window Width=80 Height=25, click OK.
- Enter EXIT.
This way, the Command Prompt window will open with the standard size, but when you click the maximize button it will fill the screen!
B. How set the Command Prompt window to full screen mode?
That is, as pressing Alt+Enter in Windows XP, with no window border. The answer is: DISSABLE YOUR GRAPHICS DRIVER. The procedure to do that in Windows 7 is described at this post. I tried to do that in my Windows 8 computer; however, although I successfully disabled the graphics driver, the Command Prompt window still does not activate the full screen mode with Alt+Enter. It seems that we need more info about this point for Windows 8.
C. How develop a program that activate full screen mode in Windows Vista/7/8?
As far as I know, there is no way to do that. I still must review the window-management related Win-32 API functions searching for a way to eliminate the window frame, but I think I will not found it. Perhaps someone with a wider knowledge on this topic could give us an answer (carlos?).
This way, it seems that the video about this point posted by einstein1969 is fake...
Antonio
I have tried metod B and work on seven 32bit. The cmd started after disabled the graphic device go in Fullscreen.
There is a method for disable/enable a device (the graphics card) programmtically?
Einstein1969
Re: fullscreen batch
Did you disable the graphic card in device manager? What happens? Does colour depth or resolution suffer?
Or just turn off graphic card acceleration?
Microsoft has a devcon.exe for download to control hardware from the command line.
Or just turn off graphic card acceleration?
Microsoft has a devcon.exe for download to control hardware from the command line.