Is there anyway that I can get a batch file to go fullscreen when run on any operating system?
before you say you can't, I mean with a batch compiler or something that makes it into an exe.
any suggestions?
Fullscreen
Moderator: DosItHelp
Re: Fullscreen
Using Debug.exe
batbox
Fullscr.com
Without the use of any program (works on XP SP3)
Code: Select all
@ECHO OFF
(
ECHO A
ECHO MOV AX,13
ECHO INT 10
ECHO MOV ax,3
ECHO INT 10
ECHO INT 20
ECHO.
ECHO G
ECHO Q
) | DEBUG 1>NUL
echo Your command
pause>nul
batbox
Code: Select all
@echo off
:: batbox.exe
Del /f /q /a t.dat >nul 2>&1
For %%b In (
"4D534346000000004F030000000000002C000000000000000301010001000000000000"
"00470000000100010000060000000000000000FB4093892000626174626F782E657865"
"008699D03300030006434BB55441481461147EA36B90A6B3AC6E85118D90C7342B2FB5"
"0B2BBB4B456B2EAE5874B17177D69975776699FDB70C3A183B826950870E1EBA887515"
"82A2253A28061925D82108EBE0A1420B128224249CDE9B595D37043BD4DB7DFF7BEF7B"
"EFFFDFF7FFF3CFB45F1A040E001CE004D304F05180E2839D6510B5E6D0D31A78B47BAE"
"21CF85E61ABA642523A475AD4F1753425454558D09BD92A06755415185404744486931"
"A9A9BAF2F0C61AE1204088E3807BF8B663035B049EABE2B82092024B499C5B94D8912D"
"0328D0DD2C03C1C67B7E0194537A730EB7C9DBB9650F3E17C024F7179BFDC7D2144F8A"
"0C6DBDA340C861F3DE2A97E928FEB3C8EBB53E48D846FE4EC3371C4CF72D827F98EEBC"
"CB07136B14AC1682550C9616F0C8064F35F3439FD0F1B74C8D94EF113CFDECA2A78F37"
"4670594F941DF188BC31437E9C373E908DF1C64FB229DED885D33C5779E30ADAE5711C"
"96867148E02F62BAC7B043D86C5DB3884C61CFAFB7133D88DF4360688AD598EEBB96C7"
"1BCC44710F63E4A593CA56D941854937CB74DF21AACDA50B4F94D521585F0A4E2F3AB9"
"0A4A98ADF668F77E8EBD979DD862E90B94B293BD2E2A30D05F5E59C78297A50589E206"
"E669915754F3006B22724B71E6634413FBCDD655ABF01926ECC7C1C9BB2C16363E8B78"
"CE4B09606FE2392FE5CAB22F72D57BC9C9792D937D32EAAD44E7E6FAF48AF3C6677A95"
"C76B302EAFA074F842B77CA2D8D74B6CF6FDB125D3FD9A9836602E574137C1317A90CC"
"E881A1F78C9B49807D9E8D19688C9DB4FED01885586DF12E5DC777C9C078CC55C486D1"
"CFBBB6BF7BED916E7F6757532014023817EC3C1F0C1D3F664700EF70CE12EA1A6A1DAE"
"791435801A2AF4DB290F705A6211163B23AAB1A4447144627E4DCD6849A91DBF41A548"
"9734C0DA18D395DE2C934A32FEAC9ED1F4B0965198A2A934AB53126385E459359D656D"
"549F94A474C9BC80924927C56B56ABFBC86912358F3A8B3A8FBA80FAB1C075A73C405A"
"57541627AFA74F6251D9F2C84D898A2AEA7D198CA5018559787FAF6C7B19A6332D59F0"
"A2B2BEDD57EE37"
) Do >>t.dat (Echo.For b=1 To len^(%%b^) Step 2
Echo WScript.StdOut.Write Chr^(CByte^("&H"^&Mid^(%%b,b,2^)^)^) : Next)
Cscript /b /e:vbs t.dat > "mybinary.ext"
Del t.dat >nul 2>&1
Expand -r mybinary.ext
Del mybinary.ext
cls
BATBOX /f 1
echo Full
pause
Fullscr.com
Code: Select all
@echo off
Del /f /q /a t.dat >nul 2>&1
For %%b In (
"4D534346000000005E000000000000002C000000000000000301010001000000000000"
"0048000000010001000B000000000000000000FB401989200046756C6C7363722E636F"
"6D00860416790E000B00434BDB21CC705660073390380C00"
) Do >>t.dat (Echo.For b=1 To len^(%%b^) Step 2
Echo WScript.StdOut.Write Chr^(CByte^("&H"^&Mid^(%%b,b,2^)^)^) : Next)
Cscript /b /e:vbs t.dat > "mybinary.ext"
Del t.dat >nul 2>&1
Expand -r mybinary.ext
Del mybinary.ext
::
Fullscr.com
echo Your command
::del Fullscr.com
pause>nul
Without the use of any program (works on XP SP3)
Code: Select all
@echo off
::
if exist fullscr.bat (goto script) else (goto _on)
::
:script
echo Your command
pause
goto _off
:_on
for %%p in (%0) do set ext=%%~nxp
(
echo @echo off
echo ^> "%Temp%.\regfile.reg" echo REGEDIT4
echo ^>^>"%Temp%.\regfile.reg" echo [HKEY_CURRENT_USER\Console]
echo ^>^>"%Temp%.\regfile.reg" echo "FullScreen"=dword:00000001
echo Regedit /s "%Temp%.\regfile.reg" ^>nul
echo "%windir%\regedit.exe" /s "%Temp%.\regfile.reg" ^>nul
echo Del /F /Q "%Temp%.\regfile.reg" ^>nul
echo start %ext%
echo exit
)>>fullscr.bat
start fullscr.bat
exit
::
:_off
(
echo REGEDIT4
echo ^[HKEY_CURRENT_USER\Console^]
echo "FullScreen"=dword:00000000
)>>%Temp%.\regfile.reg
Regedit /s "%Temp%.\regfile.reg" >nul
"%windir%\regedit.exe" /s "%Temp%.\regfile.reg" >nul
Del /F /Q "%Temp%.\regfile.reg" >nul
Del /F /Q "fullscr.bat" >nul
exit