Announcement

Collapse
No announcement yet.

virtual pc 2004 my MSDOS 6.22 vhd's bootup files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • virtual pc 2004 my MSDOS 6.22 vhd's bootup files

    just thought i would list my boot up config.sys and autoexec.bat files for vpc 2004 using msdos 6.22

    i assign the local hard drive c: to my servers local hard drive c:
    use subst command to assign my c: to p: during bootup.
    using lantastic for dos for networking.
    i have several boot up options
    i have not had to use virtual pc 2004 for my dos program in a while, but if any of these settings helps anybody then good.
    kbflow is used with lantastic's keyboard problems as opposed to fixshift, kbflow works better
    use of nansi.sys ver 2.2 and ctmouse ver 1.9 and qemm ver 8 where very helpful
    also i use the himem.sys and emm386.exe programs from my win98se instead of the versions that came with msdos 6.22.


    use of the following three files were of help in finding unused memory blocks in high memory for emm386.exe
    msdos's msd
    qemm's mft(manifest)
    and a program in german umbinfo

    config.sys file

    Code:
    [MENU]                                                                                                                                                                                                                                                          
    menuitem=ONSERVER,  Normal-logon server without cdrom                                                                                                                                                                                                           
    menuitem=ONSERVER2, Normal-logon server without cdrom                                                                                                                                                                                                           
    menuitem=VANILLA, VANILLA bootup to run maintanence                                                                                                                                                                                                             
    menuitem=QEMM, QEMM386 bootup to run maintanence                                                                                                                                                                                                                
    menudefault=ONSERVER,5                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                    
    [COMMON]                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                    
    [ONSERVER]                                                                                                                                                                                                                                                      
    DEVICE=C:\MSDOS\HIMEM.SYS /TESTMEM:OFF /VERBOSE  /M:13                                                                                                                                                                                                          
    REM DEVICE=C:\VMADD\VMADD386.SYS                                                                                                                                                                                                                                
    REM DEVICE=C:\MSDOS\EMM386.EXE  NOEMS NOTR I=B100-B7FF I=C600-C7FF I=CC00-DFFF X=E000-EFFF                                                                                                                                                                      
    REM DOS=HIGH,UMB                                                                                                                                                                                                                                                
    DOS=HIGH                                                                                                                                                                                                                                                        
    DEVICEHIGH=C:\LANTASTI\PROTMAN.DOS /I:C:\LANTASTI                                                                                                                                                                                                               
    DEVICEHIGH=C:\LANTASTI\DC21X4.DOS /VERBOSE                                                                                                                                                                                                                      
    SHELL C:\MSDOS\COMMAND.COM /P /E:16384 /MSG                                                                                                                                                                                                                     
    FILES=50                                                                                                                                                                                                                                                        
    BUFFERS=12                                                                                                                                                                                                                                                      
    FCBS=50,45                                                                                                                                                                                                                                                      
    STACKS=18,256                                                                                                                                                                                                                                                   
    NUMLOCK=ON                                                                                                                                                                                                                                                      
    LASTDRIVE=Z                                                                                                                                                                                                                                                     
    rem DEVICEHIGH=C:\MSDOS\RAMDRIVE.SYS 1000 512 512  /E                                                                                                                                                                                                           
    rem DEVICEHIGH=C:\MSDOS\RAMDRIVE.SYS 6000 512 512  /E                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                    
    DEVICEHIGH=C:\MSDOS\NANSI.SYS                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    
    [ONSERVER2]                                                                                                                                                                                                                                                     
    DEVICE=C:\LANTASTI\PROTMAN.DOS /I:C:\LANTASTI                                                                                                                                                                                                                   
    DEVICE=C:\LANTASTI\DC21X4.DOS /VERBOSE                                                                                                                                                                                                                          
    SHELL C:\MSDOS\COMMAND.COM /P /E:16384 /MSG                                                                                                                                                                                                                     
    FILES=100                                                                                                                                                                                                                                                       
    BUFFERS=12                                                                                                                                                                                                                                                      
    FCBS=75,50                                                                                                                                                                                                                                                      
    STACKS=12,512                                                                                                                                                                                                                                                   
    NUMLOCK=ON                                                                                                                                                                                                                                                      
    LASTDRIVE=Z                                                                                                                                                                                                                                                     
    DEVICE=C:\MSDOS\NANSI.SYS                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                    
    [VANILLA]                                                                                                                                                                                                                                                       
    DEVICE=C:\MSDOS\HIMEM.SYS /TESTMEM:OFF                                                                                                                                                                                                                          
    DOS=LOW                                                                                                                                                                                                                                                         
    FILES=40                                                                                                                                                                                                                                                        
    BUFFERS=32                                                                                                                                                                                                                                                      
    FCBS=45,40                                                                                                                                                                                                                                                      
    STACKS=12,512                                                                                                                                                                                                                                                   
    NUMLOCK=ON                                                                                                                                                                                                                                                      
    DEVICEHIGH=C:\MSDOS\NANSI.SYS                                                                                                                                                                                                                                   
    LASTDRIVE=Z                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                    
    [QEMM]                                                                                                                                                                                                                                                          
    rem DEVICE=C:\QEMM8\QEMM386.SYS                                                                                                                                                                                                                                 
    DEVICE=C:\MSDOS\HIMEM.SYS /TESTMEM:OFF /VERBOSE                                                                                                                                                                                                                 
    DEVICE=C:\MSDOS\EMM386.EXE  NOEMS NOTR I=B100-B7FF I=C600-C7FF I=CC00-DFFF I=E600-EFFF                                                                                                                                                                          
    DOS=HIGH,UMB                                                                                                                                                                                                                                                    
    FILES=40                                                                                                                                                                                                                                                        
    BUFFERS=32                                                                                                                                                                                                                                                      
    NUMLOCK=ON                                                                                                                                                                                                                                                      
    DEVICEHIGH=C:\MSDOS\NANSI.SYS                                                                                                                                                                                                                                   
    LASTDRIVE=Z                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    
    [COMMON]
    autoexec.bat file
    Code:
    C:
    CD \
    MD \KDRIVE
    DEL C:\KDRIVE\*.TMP
    DEL C:\KDRIVE\*.SWP
    DEL C:\KDRIVE\*.EXE
    DEL C:\KDRIVE\*.COM
    DEL C:\KDRIVE\*.MSK
    DEL C:\KDRIVE\*.OVL
    DEL C:\KDRIVE\NET*.*
    DEL C:\KDRIVE\UNIDOS.*
    PATH C:\;C:\MSDOS;C:\OTHERS
    PROMPT $p$g
    VERIFY=ON
    BREAK=OFF
    MD C:\NU
    MD C:\SYMANTEC
    MD C:\TEMP
    MD C:\TMP
    MD C:\_SPFPAGE
    DEL C:\ASSEG.*
    DEL C:\LANTASTI.ON
    DEL C:\TEMP\*.SWP
    DEL C:\TEMP\*.TMP
    DEL C:\TMP\*.SWP
    DEL C:\TMP\*.TMP
    SET TMP=C:\TEMP
    SET TEMP=C:\TEMP
    SET NU=C:\NU
    SET SYMANTEC=C:\SYMANTEC
    SET PKWARE.INI=C:\OTHERS
    SET PKNO386=ON
    SET PKUNZIP=-3
    IF %CONFIG%==QEMM GOTO END
    LH C:\MSDOS\MODE LPT1:,,P
    REM LH C:\MSDOS\MODE CON: RATE=32 DELAY=1
    
    IF %CONFIG%==VANILLA GOTO END
    
    C:\-PROGRAM\SCRNBOLD
    SET MVPC=YES
    REM LH C:\vmadd\fshare.exe
    LH C:\VMADD\IDLE.COM
    LH C:\OTHERS\KBFLOW
    REM C:\OTHERS\FIXSHIFT /I
    REM LH C:\MSDOS\KEYB US,,C:\MSDOS\KEYBOARD.SYS
    DEL GO.BAT
    rem C:\QEMM\LOADHI LH C:\MSDOS\MODE LPT1:,,P
    REM LH C:\MSDOS\MODE LPT2:,,P
    REM LH C:\MSDOS\MODE COM1:96,N,8,1,P
    REM LH C:\MSDOS\MODE COM2:96,N,8,1,P
    PATH C:\MSDOS;C:\OTHERS
    LH C:\MSDOS\APPEND /E
    C:\MSDOS\APPEND C:\OTHERS
    
    IF %CONFIG%==VANILLA GOTO END
    
    C:\MSDOS\SUBST P: C:\
    C:\MSDOS\SUBST K: C:\KDRIVE
    SET COMSPEC=P:\MSDOS\COMMAND.COM
    P:
    CD \
    
    IF %CONFIG%==ONSERVER  BEGINB.BAT
    IF %CONFIG%==ONSERVER2  BEGINB.BAT
    
    :END
    rem c:\OTHERS\CTMOUSE
    REM c:\vmadd\MOUSE.com
    C:\OTHERS\FIXSHIFT /I
    PATH C:\MSDOS;C:\OTHERS
    REM CLS
    begina.bat
    Code:
    C:
    CD \
    SET MOUSE=YES
    SET COLOR=C
    SET SCREEN=VGA
    SET TMP=C:\TEMP
    SET TEMP=C:\TEMP
    SET SPFPATH=C:\OTHERS
    PATH C:\MSBAT;C:\BAT;C:\MSDOS;C:\CB86;C:\OTHERS;C:\-PROGRAM;C:\
    C:
    CD \
    IF %CONFIG%==OFFSERVER  GOTO  OFFSERVER
    IF %CONFIG%==OFFSERCDR  GOTO  OFFSERCDR
    IF %CONFIG%==OFFSERLAN  GOTO  OFFSERLAN
    
    :OFFSERCDR
    LH C:\MSDOS\MSCDEX.EXE /D:MSCD0000 /M:10 /L:Q
    GOTO END
    
    :OFFSERLAN
    SET USER=PAUL
    SET SERVER=NO
    SET LAN_CFG=C:\LANTASTI
    SET LAN_DIR=C:\LANTASTI.NET
    rem LH C:\LANTASTI\AEX IRQ=15 IOBASE=340 VERBOSE
    rem C:\LANTASTI\NEX000 IRQ=5 IOBASE=340 16-BIT
    rem LH C:\LANTASTI\AI-NDIS BIND_TO=LNEPCI2_NIF
    C:
    CD \LANTASTI
    LH AI-NDIS BIND_TO=AON325_NIF
    LH C:\LANTASTI\AILANBIO @C:\LANTASTI\STARTNET.CFG
    LH C:\LANTASTI\REDIR %USER% @C:\LANTASTI\STARTNET.CFG
    C:
    CD \
    LH C:\MSDOS\MSCDEX.EXE /D:MSCD0000 /M:10 /L:Q
    C:\MSDOS\SMARTDRV C+ D+ E+
    rem LH C:\LANTASTI\SERVER
    C:
    CD \
    C:\LANTASTI\NET/NOERR LOGIN \\SER %USER% %USER%
    PATH C:\MSBAT;C:\BAT;C:\-PROGRAM;C:\MSDOS;C:\OTHERS;C:\;C:\LANTASTI
    C:\LANTASTI\NET/NOERR LPT TIMEOUT 0
    C:\LANTASTI\NET/NOERR UNUSE LPT1
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT1 \\SER\@HP4-17C
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT2 \\SER\@HP4-17C
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT3 \\SER\@HP4-17C
    
    :END
    :OFFSERVER
    LH C:\OTHERS\TSRBOOT 02:00:00
    MEM/C >C:\MEM.PRN
    beginb.bat

    Code:
    P:
    CD \
    REM SMARTDRV
    ECHO OFF
    ECHO ON
    SET MVPC=YES
    SET USER=PAUL1
    SET ORIGUSER=%USER%
    SET OFFICE=MGMT
    SET MODE=DEF
    SET LOC=11
    SET MENU=MENU
    SET MOUSE=YES
    SET COLOR=C
    SET SERVER=NO
    SET SCREEN=VGA
    SET TMP=P:\TEMP
    SET TEMP=P:\TEMP
    SET NU=P:\NU
    SET SYMANTEC=P:\SYMANTEC
    SET SPFPATH=P:\OTHERS
    SET SCREEN132=N
    PATH P:\MSBAT;P:\MSDOS;P:\;P:\CB86;P:\OTHERS;P:\-PROGRAM
    P:
    CD \
    CD P:\LANTASTI
    SET LAN_CFG=P:\LANTASTI
    SET LAN_DIR=P:\LANTASTI.NET
    REM NETBEUI
    REM NETBIND
    LH P:\LANTASTI\AI-NDIS BIND_TO=DC21X4_NIF/VERBOSE/RECEIVE_BUFFERS=5
    P:\LANTASTI\AILANBIO @P:\LANTASTI\STARTNET.CFG
    P:\LANTASTI\REDIR %USER% @P:\LANTASTI\STARTNET.CFG
    rem ---------------------- MTM ATAPI CD-ROM ----------------------
    IF %CONFIG%==ONSERCDR  P:\MSDOS\MSCDEX.EXE /D:MSCD0000 /M:10 /L:Q
    rem ---------------------- MTM ATAPI CD-ROM ----------------------
    REM SMARTDRV 4096
    REM SMARTDRV C+ D+ E+
    REM SERVER  P:\LANTASTI.NET
    P:
    CD \
    P:\LANTASTI\NET/NOERR LOGIN \\SER %USER% %USER%
    P:\LANTASTI\NET/NOERR LOGIN \\LTNTNT %USER% %USER%
    P:\LANTASTI\NET/NOERR USE C: \\SER\C-DRIVE
    C:
    CD \
    REM SET COMSPEC=C:\MSDOS\COMMAND.COM
    PATH C:\MSBAT;C:\BAT;C:\-PROGRAM;C:\-MPM;C:\MSDOS;C:\OTHERS;C:\;C:\LANTASTI
    C:\MSDOS\APPEND K:\;C:\%USER%;C:\WKST%LOC%;C:\-MPM;C:\OTHERS
    C:
    CD \
    CD C:\WKST%LOC%
    REM LH C:\OTHERS\TSRBOOT 02:00:00
    REM LH C:\OTHERS\ZENO174
    C:
    CD \
    CALL C:\BEGINMGT.BAT
    C:
    CD \
    C:\LANTASTI\NET/NOERR LPT TIMEOUT 0
    C:\LANTASTI\NET/NOERR UNUSE LPT1
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT1 \\SER\@HP4-17C
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT2 \\SER\@HP4-17C
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT3 \\SER\@HP4-12C
    C:\LANTASTI\NET/NOERR USE/REPLACE LPT4 \\SER\@HP4-12C
    C:\LANTASTI\NET/NOERR USE/REPLACE D: \\SER\D-DRIVE
    C:\LANTASTI\NET/NOERR USE/REPLACE E: \\SER\E-DRIVE
    C:\LANTASTI\NET/NOERR USE/REPLACE F: \\SER\F-DRIVE
    C:\LANTASTI\NET/NOERR USE/REPLACE G: \\SER\G-DRIVE
    C:\LANTASTI\NET/NOERR USE/REPLACE H: \\SER\H-DRIVE
    REM C:\LANTASTI\NET/NOERR USE/REPLACE E: \\LTNTNT\E-DRIVE
    C:
    CD \
    CD \WKST%LOC%
    LH C:\MSDOS\DOSKEY
    rem C:\OTHERS\CTMOUSE
    MEM/C >P:\MEM.PRN
    C:
    CD \
    CLS
    SERVER /REMOVE
    Last edited by Paul Purvis; 14 Apr 2008, 03:36 PM.
    p purvis
Working...
X