1.

Solve : How to make a batch file full screen without making a shortcut??

Answer»

Does anyone here know how to make a batch file full screen without making a shortcut?This question was answered before by SlayerOf.

Code: [SELECT]echo off
reg query HKEY_CURRENT_USER\Console /v FullScreen | find "1" >nul
if %errorlevel% == 0 goto continue
reg add HKEY_CURRENT_USER\Console /t reg_dword /v Fullscreen /d 1 /f >nul
start %0

:continue
rem your command goes here

pause

exit Hi guys

Have tried this but how do you reverse the action

when running any BAT file now for 1 user (the user that I ran this code on) I dont see the script at all

But when I change user and run any bat file I see the script running

IanYou could also have an open.bat file to open it with the following:

Code: [Select]start /max C:\program.bat

Then you can use the open.bat for when you want it full screen and just the regular command when you don't. SIMPLE, but it works.Hi Guys

Thats not exactly what I wanted to convey

After running this script under 1 user name , when I now run cmd.exe I don't even see the shell box on screen . But when I switch user (of which I haven't run this script) and run cmd.exe I see the shell box.

I am assuming that the script has done something to the First users settings.

regards

Ian



Discussion

No Comment Found