1.

Solve : How to enlarge the window "code included"?

Answer»
I have been messing around with the code bellow.
How can you enlarge the WINDOW wihout draging with the mouse.

I would like to set the size of the window within the code.

How do i do it.



@echo off
@color 0a
title Buddy Box
:a
cls
echo =========================
echo Windows 7 64BIT BuddyBox
echo =========================
echo.
echo 1) Mozilla Firefox
echo 2) Internet Explorer
echo 3) Windows Media Player
echo 4) Notepad
echo 5) Regedit
echo 6) Calculator
echo 7) Wordpad
echo 8) Command Prompt
echo 9) Charactor Map
echo 10) On-Screen Keyboard
echo 11) Disk Cleanup
echo 12) Command Prompt
echo 13) Computer Management
echo 14) Control Panel
echo 15) Component Services
echo 16) Disk Defragmenter
echo 17) DirectX Diagnostic Tool
echo 18) Privatee Character Editor
echo 19) Event Viewer
echo 20) Volume Mixer
echo 21) Snipping Tool
echo 22) Sound Recorder
echo 23) Sticky Notes
echo 24) Create Restore Point
echo 25) Windows Task Manager
echo 26) User Account Control Settings






echo.
set /p op=Choose which application to open:
if %op%==1 goto 1
if %op%==2 goto 2
if %op%==3 goto 310

if %op%==4 goto 4
if %op%==5 goto 5
if %op%==6 goto 6
if %op%==7 goto 7
if %op%==8 goto 8
if %op%==9 goto 9
if %op%==10 goto 10
if %op%==11 goto 11
if %op%==12 goto 12
if %op%==13 goto 13
if %op%==14 goto 14
if %op%==15 goto 15
if %op%==16 goto 16
if %op%==17 goto 17
if %op%==18 goto 18
if %op%==19 goto 19
if %op%==20 goto 20
if %op%==21 goto 21
if %op%==22 goto 22
if %op%==23 goto 23
if %op%==24 goto 24
if %op%==25 goto 25
if %op%==26 goto 26




:1
start firefox.exe
goto a
:2
start iexplore.exe
goto a
:3
start wmplayer.exe
goto a
:4
start notepad.exe
goto a
:5
start regedit.exe
goto a
:6
start calc.exe
goto a
:7
start Wordpad.exe
goto a
:8
start cmd.exe
goto a
:9
start charmap.exe
goto a
:10
start osk.exe
goto a
:11
start cleanmgr.exe
goto a
:12
start cmd.exe
goto a
:13
start CompMgmtLauncher.exe
goto a
:14
start control.exe
goto a
:15
start dcomcnfg.exe
goto a
:16
start dfrgui.exe
goto a
:17
start dxdiag.exe
goto a
:18
start eudcedit.exe
goto a
:19
start eventvwr.exe
goto a
:20
start SndVol.exe
goto a
:21
start SnippingTool.exe
goto a
:22
start SoundRecorder.exe
goto a
:23
start StikyNot.exe
goto a
:24
start SystemPropertiesProtection.exe
goto a
:25
start taskmgr.exe
goto a
:26
start UserAccountControlSettings.exe

goto aUse the mode command after the @echo off statement:

MODE CON[:] [COLS=c] [LINES=n]

Good luck.

This is what i used.

MODE CON:cols=50 lines=32

Thank you
Much appreciated

Ya know?..... I had never DONE that before, but I just tried it and it works great, but.....
I had to use much higher numbers, due to the resolution of my screen. 150 and 65 worked great for me.

Thanks for that helpful tip. This day has not been wasted! Now I'm going to the movies.

Nice tip.

thanx


Discussion

No Comment Found