Post by pyotr filipivichOoh, I never tried that. But it doesn't work in Win7 - I just
tried that. Nerts.
This is about as good as you will get in Vista and later.
@Echo Off
::Fullscreen - carlos at dostips.com - fs.exe V0.5 /hmc will hide the mouse cursor.
Call :fs
fs.exe
Pause
Goto :Eof
:fs
Rem Script made using BHX { code.google.com/p/bhx }
SetLocal EnableExtensions
For %%# In ("fs.ex_") Do Set "bin=%%~f#"
For %%# In ("fs.exe") Do Set "exp=%%~f#"
Del /A /F "%bin%" "%bin%.da" "%exp%" >Nul 2>&1
For %%# In (
4D5343460000000011040000000000002C000000000000000301010001000000
000000004300000001000100000A000000000000000092431114200066732E65
786500E9687805C603000A434BE5554F681C55187FB3D9C4B44DBBB18A070F3A
09066F511451294A6A335831ABAF6CABC54B32EEBEEC0EEECC84994993A86062
12705917A378F0243D78F0D043910AAB9736B68794365041F0BA489429DDC322
5BD943E2F87B7FF61FD5B60AA5051FFBBDDFF77EEF7BBFEF7BEFCDCC26DF5A23
3D8490382C8A082913D9C6C8ADDB226CDFA3DFEF2367766D0E95B589CDA1A339
CBD7673C37EB99B69E361DC70DF4B799EECD3ABAE5E8E3AFA774DBCDB0D1BD7B
773FA634A841C88416EBD2AD9044CF1EADAF8B7B6F3FBA4198AEAAE37E4CD64D
481BC99392FFF60722F62502073BB105D2871EBD8DBDFEDB3605DDA337991F0D
D87C00CCF5A882E2B2EECE0689A9D18C1998F057626AEF3CAEFB68F8699CFBAF
751E2BFCBA541D80B356D6D0178C7A11BF64FFF31B89D23888ABBBD0811AC3CC
B52D38EB95583139A0AD17355A8EEB6384869FA2B4E50BFDABE7122BBD7CC51E
7452AC9720E0DA7A3817E3CADB45637BA9C21FB2564F9A7DC168148DC672A337
B1BA1BC370980BDD2F5283ED4B7CC895C303443DA0577977F1BC283E2E8ABF1E
45110D1F9289440C15355024A5615FAC15FE1C0F0F773411B8DC20895551B40D
4289FC28E61A52A4645CA14A8E3F5934BCC4036B3C50285F10C1D572B5C57C23
98B06854F9360F44B423FA4B8DEF285CAAFCB9BD8389F6A255AEFA8C4843DA7D
D1F80976A53542604628346898166936CA7159E506AC46C3631ABF8B01B160BA
60549ACE2F89B346ED309C2D38BF73E737797285CA771C8E9492B523383FB95C
24D80FBF64545AC708EA3E5EE51FE2904EC987A5645CC6549D8675715797972B
67E5B8CAC7E2FEF97391685E9CD4F9B97D7B83E2F68850ABF12D348FBD0E6BC0
B0E7D38457F520D7E5CBC5398CEF44112A2DF42E0E8F2111EF69F889088C5F3C
8F6FD9C894CEBF61D148A0705EE1FB0A17159E54F895C2AF159E52B8A230A3F0
23851F2B5C53F8B9C22F14E614E6F5DBF996DECDF644CE4E37FD337A9BEF1F92
DFB18D0EEE457001C6F50EEE61BCAD27F5BFD77E00F18FC01E873D3B24B95781
C76159D807B0CF60A7619BB02DD87558DFB08C1D01BE007B0D36397CE7346DFF
44DA0B4633F93C06937EE0A5ED198BF3CC4ECF2C706E32CB02DBB41CD3CBFA18
B3792B20EF30CF61F9A79F52EB5E66C11BCCF32DD791835490396C3A993CC330
C58243AEE3BB79366EF933797321897F4219A6F8372D27E3CE496A025998DF3D
93B2DEED164AA53DC69C9766A7A79977C3A45CF38A33ED762551595337103977
4E3187663DDFF5C8ACCFBCD6CE520B7EC06C6AE27F9D05D822D73D288565A209
D7C91E94C2FF4050D7BFC7DF83FF63FB0B
) Do >>"%bin%.da" (Echo For b=1 To Len^("%%#"^) Step 2
Echo WScript.StdOut.Write Chr^(CByte^("&H"^&Mid^("%%#",b,2^)^)^)
Echo Next)
Cscript.exe /B /E:vbs "%bin%.da" >"%bin%"
Expand.exe "%bin%" "%exp%" >Nul 2>&1
Del /A /F "%bin%" "%bin%.da" >Nul 2>&1
Goto :Eof