Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: can someone edit my autoexec.bat and config.sys please  (Read 16865 times)

0 Members and 1 Guest are viewing this topic.

Dias de verano

  • Guest
Re: can someone edit my autoexec.bat and config.sys please
« Reply #15 on: March 26, 2009, 03:54:46 PM »
Sorry, can't answer that, I have never tried booting MS-Dos from a hard drive on any partition other than C:

You can boot MS DOS from a removable disk or the first partition of your primary hard drive. That's it.

nitsudm

    Topic Starter


    Rookie

    Re: can someone edit my autoexec.bat and config.sys please
    « Reply #16 on: March 26, 2009, 04:14:59 PM »
    ok - that's what I thought

    nitsudm

      Topic Starter


      Rookie

      Re: can someone edit my autoexec.bat and config.sys please
      « Reply #17 on: March 26, 2009, 05:10:38 PM »
      if I have an a:, c:, and a d: drive shouldn't the LASTDRIVE=D rather than E in the config.sys - does that even make a difference?

      Dias de verano

      • Guest
      Re: can someone edit my autoexec.bat and config.sys please
      « Reply #18 on: March 26, 2009, 05:29:25 PM »
      if I have an a:, c:, and a d: drive shouldn't the LASTDRIVE=D rather than E in the config.sys - does that even make a difference?

      If you are connected to a network there may be a network drive letter needed. When DOS was king, PCs didn't have much memory, and every kilobyte was precious. If you don't specify a LASTDRIVE= line in your CONFIG.SYS, MS-DOS sets the last drive to Z by default. Each letter uses 96 bytes of conventional memory so excluding the letters F to Z will save 2016 bytes. It probably wouldn't make a lot of difference to leave it out altogether. You can always experiment.



       

      nitsudm

        Topic Starter


        Rookie

        Re: can someone edit my autoexec.bat and config.sys please
        « Reply #19 on: March 26, 2009, 05:40:43 PM »
        Also if I have changed the location of dos to c: then it seems like line 8 in autoexec.bat is wrong or I should probably try moving lantasti folder to c: drive?


        Code: [Select]
        @ECHO OFF
        LH /L:0;1,45488 /S \SMARTDRV.EXE /X
        LH /L:1,13984 \share
        PROMPT $P$G
        set clipper=f085
        PATH C:\; C:\DOS;
        SET COMSPEC=\COMMAND.COM
        LH /L:0;1,50304 /S COMMAND /E:1024 /C\LANTASTI\STARTNET.BAT
        path=d:\vss;%path%
        D:\lantasti\net clock \\master
        SET VSSTERM=2
        D:
        m

        Same thing with config.sys line 10 - 14

        Code: [Select]
        DEVICE=\HIMEM.SYS
        DEVICE=\EMM386.EXE NOEMS novcpi /i=e000-efff
        BUFFERS=50,50
        FILES=199  
        DOS=HIGH,UMB
        LASTDRIVE=E
        FCBS=16,8
        SHELL=\COMMAND.COM /P /E:1024
        STACKS=9,256
        DEVICE=\LANTASTI\PROTMAN.DOS /I:\LANTASTI
        device=\lantasti\pnpnd.dos
        rem DEVICEHIGH /L:1,17904 =\LANTASTI\ELNK3.DOS
        rem devicehigh=\lantasti\epro.dos
        rem devicehigh=\lantasti\nh2000.dos

        Either the those paths need to be changed or I need to move the "lantasti" folder to c:

        Thanks for the help :)

        Dias de verano

        • Guest
        Re: can someone edit my autoexec.bat and config.sys please
        « Reply #20 on: March 26, 2009, 05:52:41 PM »
        Quote
        I should probably try moving lantasti folder to c: drive?

        Yes

        Quote
        Same thing with config.sys line 10 - 14

        Yes

        Quote
        Either the those paths need to be changed or I need to move the "lantasti" folder to c:

        Either. Easier to move it to C:

        nitsudm

          Topic Starter


          Rookie

          Re: can someone edit my autoexec.bat and config.sys please
          « Reply #21 on: March 26, 2009, 05:57:07 PM »
          awesome - ok, I'll try that when I get over there in a bit - thank you very much

          I'll let you know later how it works out

          nitsudm

            Topic Starter


            Rookie

            Re: can someone edit my autoexec.bat and config.sys please
            « Reply #22 on: March 27, 2009, 03:29:14 PM »
            Quote
            REM  -  Allows you to place remarks into the batch file without displaying or executing that line when the batch file is run.

            With that in mind am I to expect that these 3 lines at the end of the config.sys are not being executed?

            Code: [Select]
            rem DEVICEHIGH /L:1,17904 =\LANTASTI\ELNK3.DOS
            rem devicehigh=\lantasti\epro.dos
            rem devicehigh=\lantasti\nh2000.dos

            the two lines prior to that looks to me to be loading drivers for the NIC:

            Code: [Select]
            DEVICE=\LANTASTI\PROTMAN.DOS /I:\LANTASTI
            device=\lantasti\pnpnd.dos

            When I boot to harddrive himem.sys loads but during startnet.bat (I am to believe at this point) It says:

            Code: [Select]
            Loading Network ISA PnP driver ..........
            No Network ISA PnP dapter Found!                     
            Driver Not Loaded.

            And that last messege is from the PNPND.DOS File

            I am going to double check that I have all the right files where they should be - but if someone could help clarify the stuff above it would be very helpful - thank you

            Dias de verano

            • Guest
            Re: can someone edit my autoexec.bat and config.sys please
            « Reply #23 on: March 27, 2009, 03:42:29 PM »
            With that in mind am I to expect that these 3 lines at the end of the config.sys are not being executed?

            Code: [Select]
            rem DEVICEHIGH /L:1,17904 =\LANTASTI\ELNK3.DOS
            rem devicehigh=\lantasti\epro.dos
            rem devicehigh=\lantasti\nh2000.dos

            That is correct. They will not be executed.

            Quote
            the two lines prior to that looks to me to be loading drivers for the NIC:

            Code: [Select]
            DEVICE=\LANTASTI\PROTMAN.DOS /I:\LANTASTI
            device=\lantasti\pnpnd.dos

            When I boot to harddrive himem.sys loads but during startnet.bat (I am to believe at this point) It says:

            Code: [Select]
            Loading Network ISA PnP driver ..........
            No Network ISA PnP dapter Found!                     
            Driver Not Loaded.

            And that last messege is from the PNPND.DOS File

            Looks like the driver loaded in startnet.bat is not finding a network adapter (network card). I presume there is one installed?

            nitsudm

              Topic Starter


              Rookie

              Re: can someone edit my autoexec.bat and config.sys please
              « Reply #24 on: March 27, 2009, 03:47:20 PM »
              there is a network adapter installed in a pci slot and hasn't been moved since this all worked - there is nothing on the NIC to suggest who makes it - just a serial #5200pxa37ab0315975

              nitsudm

                Topic Starter


                Rookie

                Re: can someone edit my autoexec.bat and config.sys please
                « Reply #25 on: March 27, 2009, 03:48:59 PM »
                Startnet.bat:

                Code: [Select]
                @echo off
                rem LANtastic  Version 6.00  installed 95/12/00 16:06:19
                rem (for DOS)

                a:
                cd c:\LANTASTI

                SET LAN_CFG=c:\LANTASTI

                rem If LANtastic is disabled, skip everything.
                IF EXIST DISABLED GOTO :STARTNET_DONE

                @echo ===== Begin LANtastic configuration =====

                PATH c:\LANTASTI;%PATH%

                rem LOADHIGH AI-NDIS BIND_TO=ELNK3_NIF
                rem LOADHIGH AI-NDIS BIND_TO=EPRO_NIF
                rem LOADHIGH AI-NDIS BIND_TO=NH2000_NIF
                LOADHIGH AI-NDIS BIND_TO=RTL8019_NIF

                AILANBIO @STARTNET.CFG

                REDIR node1 @STARTNET.CFG

                rem If CONNECT.BAT exists, run it to set up connections.
                IF EXIST CONNECT.BAT GOTO :CONNECT

                rem Otherwise set up connections specified during install.
                NET LOGIN/wait \\MASTER
                NET USE D: \\MASTER\C-DRIVE
                NET LPT TIMEOUT 10
                GOTO :CONNECT_DONE

                :CONNECT
                @echo Setting up LANtastic connections from CONNECT.BAT
                rem Build CONNECT.BAT like this: "NET SHOW/BATCH > c:\LANTASTI\CONNECT.BAT"
                rem   (or run the batch file SETNET.BAT)
                call CONNECT.BAT

                :CONNECT_DONE
                NET POSTBOX

                @echo ===== End LANtastic configuration =====

                :STARTNET_DONE
                cd \

                Dias de verano

                • Guest
                Re: can someone edit my autoexec.bat and config.sys please
                « Reply #26 on: March 27, 2009, 04:00:28 PM »
                Quote
                Loading Network ISA PnP driver ..........
                No Network ISA PnP dapter Found!                     
                Driver Not Loaded.

                I can't see any of these messages in startnet.bat

                The whole thing works if you boot off the floppy?

                nitsudm

                  Topic Starter


                  Rookie

                  Re: can someone edit my autoexec.bat and config.sys please
                  « Reply #27 on: March 27, 2009, 05:17:54 PM »
                  no doesn't run off of a floppy - and it didn't prior to this.

                  Quote
                  I can't see any of these messages in startnet.bat

                  That message comes from the pnpnd.dos file

                  I would post the contents of the pnpnd.dos but it is too large to properly display on this page...

                  Is there a way I can attach the file so you can view it in notepad? It does seem important

                  Also, in the startnet.bat does this look like it's to load the adapter driver? :

                  Code: [Select]
                  LOADHIGH AI-NDIS BIND_TO=RTL8019_NIF
                  or not? This (RTL8019_nif) is referenced in the pnpnd.dos file
                  « Last Edit: March 27, 2009, 05:44:28 PM by nitsudm »

                  Dias de verano

                  • Guest
                  Re: can someone edit my autoexec.bat and config.sys please
                  « Reply #28 on: March 27, 2009, 05:46:18 PM »
                  no doesn't run off of a floppy - and it didn't prior to this.

                  You wrote this:

                  Quote
                  I did not write the batch files on the boot disk and cannot fully understand them in a timely manner.

                  Would someone please check and or alter these batch files so that they work with my current configuration? I will obviously be booting to a 1.44mb floppy on the a:\

                  Quote
                  That message comes from the pnpnd.dos file

                  I would post the contents of the pnpnd.dos but it is too large to properly display on this page...

                  Is there a way I can attach the file so you can view it in notepad? It does seem important

                  You can upload a text file. In the posting window, click Additional Options.

                  Quote
                  Also, in the startnet.bat does this look like it's to load the adapter driver? :

                  Code: [Select]
                  LOADHIGH AI-NDIS BIND_TO=RTL8019_NIF
                  or not?

                  Yes.

                  nitsudm

                    Topic Starter


                    Rookie

                    Re: can someone edit my autoexec.bat and config.sys please
                    « Reply #29 on: March 27, 2009, 06:03:54 PM »
                    Here is the rtl8019_nif file:

                    Code: [Select]
                    Model           = ISA Plug & Plays
                    Path            = ..\..\NDIS
                    DeviceDriver    = PNPND.DOS
                    DeviceName      = PNPND
                    Type            = NDIS
                    XPorts          = NETBEUI
                    

                    And the pnpnd.dos is attached

                    [attachment deleted by admin]