Forum » Programiranje » direktno v windows
direktno v windows
bostek ::
zanima me kok bi napislal kodo, da bi ob zagonu lahko izbiral dos ali win3.1, pa še časovna omejitev
CaqKa ::
to se lahko z autoexecom pa config sysom naredi v kolikor se gre za ta dva stara sistema :)
CaqKa ::
tole sem enkrat pri enemu kolegu vido pa sem si shrano na disketo v stilu mogoce bom pa še rabil :)
autoexec.bat
@ECHO OFF
PROMPT $P$G
GOTO %CONFIG%
SET BLASTER=A220 I7 D1 T4
:WINDOW
mode con codepage prepare=((852) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=852
keyb yu,,C:\WINDOWS\COMMAND\keybrd2.sys
PATH=C:\WINDOWS;C:\TOOLS
GOTO END
:NORMAL
SET BLASTER=A220 I7 D1 T4
C:\WINDOWS\SMARTDRV.EXE /U 2048
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
MSCDEX.EXE /D:SONY_000
C:\CHERRY
DOSKEY
GOTO END
:640KB
LOADHIGH=C:\WINDOWS\SMARTDRV.EXE /U 2048
LOADHIGH=C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SONY_000
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
C:\CHERRY
GOTO END
:EMS
rem C:\WINDOWS\SMARTDRV.EXE /U 2048
SET BLASTER=A220 I7 D1 T4
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:;C:\DOS;C:\TOOLS;C:\MOUSE;C:\DESKJET
LOADHIGH=C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SONY_000
C:\CHERRY
GOTO END
:BREZ_CD
C:\WINDOWS\SMARTDRV.EXE /U 2048
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
C:\CHERRY
GOTO END
:IGRE
SET BLASTER=A220 I7 D1 T4
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
rem MSCDEX.EXE /D:SONY_000
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:;C:\DOS;C:\TOOLS;C:\MOUSE;
C:\CHERRY
REM
REM Naslednje vrstice je zapisal program Windows. Ne spreminjajte jih.
REM
C:
CD C:\WINDOWS
CALL C:\WINDOWS\COMMAND.COM
C:\WINDOWS\WIN.COM /W
config.sys
[menu]
MENUITEM=WINDOW
MENUITEM=NORMAL
MENUITEM=640KB
MENUITEM=EMS
MENUITEM=BREZ_CD
MENUITEM=IGRE
[COMMON]
DEVICE=C:\WINDOWS\HIMEM.SYS
[WINDOW]
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=386,852,C:\WINDOWS\COMMAND(C)ountry.sys
DEVICEHIGH/L:0=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
[NORMAL]
BUFFERS=10
files=30
LASTDRIVE=Z
rem SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
DOS=HIGH
DEVICE=\DEV\ATAPI_CD.SYS /D:SONY_000
[640KB]
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
rem DEVICEHIGH=C:\WINDOWS\IFSHLP.SYS
BUFFERS=10
files=30
LASTDRIVE=Z
REM SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
DOS=HIGH,UMB
rem DEVICEHIGH=\DEV\ATAPI_CD.SYS /D:SONY_000
[EMS]
DEVICE=C:\WINDOWS\EMM386.EXE
BUFFERS=10
files=30
REM SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
LASTDRIVE=Z
DEVICEHIGH=\DEV\ATAPI_CD.SYS /D:SONY_000
DOS=HIGH,UMB
[BREZ_CD]
DEVICE=C:\WINDOWS\IFSHLP.SYS
BUFFERS=10
files=30
REM SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
DOS=HIGH
[IGRE]
DOS=HIGH,UMB
autoexec.bat
@ECHO OFF
PROMPT $P$G
GOTO %CONFIG%
SET BLASTER=A220 I7 D1 T4
:WINDOW
mode con codepage prepare=((852) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=852
keyb yu,,C:\WINDOWS\COMMAND\keybrd2.sys
PATH=C:\WINDOWS;C:\TOOLS
GOTO END
:NORMAL
SET BLASTER=A220 I7 D1 T4
C:\WINDOWS\SMARTDRV.EXE /U 2048
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
MSCDEX.EXE /D:SONY_000
C:\CHERRY
DOSKEY
GOTO END
:640KB
LOADHIGH=C:\WINDOWS\SMARTDRV.EXE /U 2048
LOADHIGH=C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SONY_000
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
C:\CHERRY
GOTO END
:EMS
rem C:\WINDOWS\SMARTDRV.EXE /U 2048
SET BLASTER=A220 I7 D1 T4
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:;C:\DOS;C:\TOOLS;C:\MOUSE;C:\DESKJET
LOADHIGH=C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SONY_000
C:\CHERRY
GOTO END
:BREZ_CD
C:\WINDOWS\SMARTDRV.EXE /U 2048
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
C:\CHERRY
GOTO END
:IGRE
SET BLASTER=A220 I7 D1 T4
PATH=C:;C:\WINDOWS;C:\DOS;C:\TOOLS;C:\MOUSE;
rem MSCDEX.EXE /D:SONY_000
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:;C:\DOS;C:\TOOLS;C:\MOUSE;
C:\CHERRY
REM
REM Naslednje vrstice je zapisal program Windows. Ne spreminjajte jih.
REM
C:
CD C:\WINDOWS
CALL C:\WINDOWS\COMMAND.COM
C:\WINDOWS\WIN.COM /W
config.sys
[menu]
MENUITEM=WINDOW
MENUITEM=NORMAL
MENUITEM=640KB
MENUITEM=EMS
MENUITEM=BREZ_CD
MENUITEM=IGRE
[COMMON]
DEVICE=C:\WINDOWS\HIMEM.SYS
[WINDOW]
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=386,852,C:\WINDOWS\COMMAND(C)ountry.sys
DEVICEHIGH/L:0=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
[NORMAL]
BUFFERS=10
files=30
LASTDRIVE=Z
rem SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
DOS=HIGH
DEVICE=\DEV\ATAPI_CD.SYS /D:SONY_000
[640KB]
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
rem DEVICEHIGH=C:\WINDOWS\IFSHLP.SYS
BUFFERS=10
files=30
LASTDRIVE=Z
REM SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
DOS=HIGH,UMB
rem DEVICEHIGH=\DEV\ATAPI_CD.SYS /D:SONY_000
[EMS]
DEVICE=C:\WINDOWS\EMM386.EXE
BUFFERS=10
files=30
REM SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
LASTDRIVE=Z
DEVICEHIGH=\DEV\ATAPI_CD.SYS /D:SONY_000
DOS=HIGH,UMB
[BREZ_CD]
DEVICE=C:\WINDOWS\IFSHLP.SYS
BUFFERS=10
files=30
REM SHELL=C:\DOS\COMMAND.COM C:\DOS\ /P
STACKS=9,256
DOS=HIGH
[IGRE]
DOS=HIGH,UMB
bostek ::
sm že zrihtu. v autoexec.bat sm napisu path od win.com in zdej avtomatsko požene windowse. zdej morm še zrihtat da bi lohk izbiru med win in dosom.
Zgodovina sprememb…
- spremenil: bostek ()
jure1873 ::
dej poglej v help od dosa kako se uporablja ukaz choice, če ne pa lahko 100% na netu najdes kaksen program za batch fileteke ki ti lahko celo kaksen menu omogoci
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Windows 95 dve desetletji pozneje (strani: 1 2 3 )Oddelek: Novice / Operacijski sistemi | 33445 (26916) | Spajky |
» | MS-DOS Elektronček BlagajnaOddelek: Programska oprema | 2724 (2262) | _vrag_ |
» | P133 ne gre instalirat windows OPOddelek: Pomoč in nasveti | 1567 (1293) | gumby |
» | Kako zbrisati Okna brez formatiranja?Oddelek: Operacijski sistemi | 1212 (911) | frudi |
» | Sistem je blokiran!Oddelek: Pomoč in nasveti | 1283 (1112) | Space Surfer |