fullscreen batch
Posted: 12 Dec 2013 08:45
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
Code: Select all
Window GSize MAX
Ed Dyreen wrote:cmdow is smaller and faster than an AutoIt executable.Code: Select all
cmdow.EXE @ /FS
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
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.
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