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 16765 times)

0 Members and 1 Guest are viewing this topic.

nitsudm

    Topic Starter


    Rookie

    can someone edit my autoexec.bat and config.sys please
    « on: March 25, 2009, 01:01:38 AM »
    I'm running ms-dos 6.22 and nothing else. I have two 2gb FAT partions labed c: (the active drive) and d:
    ALL the files that need to be accessed are on the d:\ drive - the c:\ is empty.

    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:\ and then need the batch files to load files, drivers, and paths from the d:\ and only the the d:\.

    Here's the autoexec.bat

    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 \;D:\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




    And here is the config.sys file

    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

    I know that the file names and sub directories are correct, but I don't know where a switch ends and a drive letter begins. Also I don't know how the computer these came from was configured because that pc is currently not working. I would really appreciate a response to this because I need to get this computer working again as fast as possible because it is for a Point of Sale program running in MS-DOS that I use at my business. Thank you
    « Last Edit: March 26, 2009, 01:55:13 PM by nitsudm »

    nitsudm

      Topic Starter


      Rookie

      Re: can someone edit my autoexec.bat and config.sys please
      « Reply #1 on: March 25, 2009, 01:58:49 PM »
      There are letters in this code that i'm confused about. I can see the d:\ located throughout the code which of course is what I want, but in the config.sys file for instance, I see other things that look like drive letters such as E, I:, L:, and LASTDRIVE=E - Are those referring to drives or something else. If everything that has to do with these batch files is on my D:\ drive, shouldn't they all be changed to d:\ or which ones should be - please help....thanks

      Dusty



        Egghead

      • I could if she would, but she won't so I don't.
      • Thanked: 75
      • Experience: Beginner
      • OS: Windows XP
      Re: can someone edit my autoexec.bat and config.sys please
      « Reply #2 on: March 25, 2009, 09:03:24 PM »
      Welcome to the CH forums.

      Quote
      ALL the files that need to be accessed are on the d:\ drive - the c:\ is empty.

      Seems to me that the setup on your hard drive is wrong.   MS-Dos 6.22 should be installed in the C: partition in order to boot.   Running MS-Dos from a floppy drive will not lead to any reasonable performance.

      Suggest you format C: then SYS C: and boot from the hard drive.

      There are no problems with your Autoexec.bat and Config.sys files provided the files mentioned are in the D: partition.  The "drive letters" you mention E:, I: and L: are in fact parameters (aka switches) used in setting up the system.

      Further info on the MS-Dos Autoexec.bat and Config.sys can be found here and further info if needed might be found in this selection.

      Only you know how you want to set up your system so only you can edit/modify Autoexec.bat and Config.sys.

      Good luck.
      « Last Edit: March 25, 2009, 09:16:13 PM by Dusty »
      One good deed is worth more than a year of good intentions.

      Dias de verano

      • Guest
      Re: can someone edit my autoexec.bat and config.sys please
      « Reply #3 on: March 26, 2009, 06:06:55 AM »
      Running MS-Dos from a floppy drive will not lead to any reasonable performance.

      You'll hear the drive seek every time you need COMMAND.COM. Just like the early 1980s.


      nitsudm

        Topic Starter


        Rookie

        Re: can someone edit my autoexec.bat and config.sys please
        « Reply #4 on: March 26, 2009, 11:52:38 AM »
        Well, I am having a hard time finding the ms-dos installation disks, and apparently you still can't download a full version of an out of date ms-dos. Does anyone here have a copy they can e-mail me?

        [email protected]

        Thanks for the help

        email addy removed to prevent SPAM
        « Last Edit: March 26, 2009, 06:09:34 PM by patio »

        Dias de verano

        • Guest
        Re: can someone edit my autoexec.bat and config.sys please
        « Reply #5 on: March 26, 2009, 12:46:34 PM »
        Does anyone here have a copy they can e-mail me?

        That would be illegal. Look on Ebay.

        Posting email address is against forum rules.



        nitsudm

          Topic Starter


          Rookie

          Re: can someone edit my autoexec.bat and config.sys please
          « Reply #6 on: March 26, 2009, 01:01:49 PM »
          hmmm...I have all the files in a dos folder from the original system disk before my problem came up- just can't find the setup disks. I wonder if I can just transfer system files to c:\  and then copy the dos files over to c:\? Does anyone have a snapshot of the directory of a system disk and dos as a reference to how it's supposed to look when properly installed? or would this be illegal too? - Sorry about the e-mail address - I didn't know (I should read the terms of use). I initially made a full hard disk copy of the original system disk with ms-dos 6.22 installed after a power failure messed everything up. If I transfer system files to a formatted disk labled C:\ then transfer all files from the other disk (with dos and my dos based app and files) could that work? would it still boot to disk and load dos, or is this out of my control? thank you

          Dias de verano

          • Guest
          Re: can someone edit my autoexec.bat and config.sys please
          « Reply #7 on: March 26, 2009, 01:20:01 PM »
          hmmm...I have all the files in a dos folder from the original system disk before my problem came up- just can't find the setup disks. I wonder if I can just transfer system files to c:\  and then copy the dos files over to c:\?

          Yes, you can do this. I was going to suggest this just now before I read your post.

          Assuming you have your DOS files on D: I don't see why you should not just boot from the floppy,

          then do

          Code: [Select]
          format c: /s
          sys c:
          copy d:\*.* c:\
          md c:\dos
          copy d:\dos\*.* c:\dos

          Repeat the last step for each directory on D:

          Finally copy config.sys and autoexec.bat and edit paths to reflect the fact that d: is now c:




          nitsudm

            Topic Starter


            Rookie

            Re: can someone edit my autoexec.bat and config.sys please
            « Reply #8 on: March 26, 2009, 01:35:09 PM »
            Quote
            Finally copy config.sys and autoexec.bat and edit paths to reflect the fact that d: is now c:

            I assume you mean the autoexec.bat and configs.sys that I started this topic with? If so, and the files referred to in the batch and config are still on d:\ am I still changing paths?

            In autoexec.bat -

            Code: [Select]
            PATH \;D:\DOS;
            is that what you are referring to?

            or is there more - thanks
            « Last Edit: March 26, 2009, 01:45:41 PM by nitsudm »

            Dias de verano

            • Guest
            Re: can someone edit my autoexec.bat and config.sys please
            « Reply #9 on: March 26, 2009, 01:55:26 PM »
            I assume you mean the autoexec.bat and configs.sys that I started this topic with? If so, and the files referred to in the batch and config are still on d:\ am I still changing paths?

            In autoexec.bat -

            Code: [Select]
            PATH \;D:\DOS;
            is that what you are referring to?

            or is there more - thanks

            change it to

            Code: [Select]
            PATH C:\; C:\DOS;

            nitsudm

              Topic Starter


              Rookie

              Re: can someone edit my autoexec.bat and config.sys please
              « Reply #10 on: March 26, 2009, 02:03:30 PM »
              And the config.sys

              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

              Does anything need to be changed to c:\ here?

              Dias de verano

              • Guest
              Re: can someone edit my autoexec.bat and config.sys please
              « Reply #11 on: March 26, 2009, 02:16:46 PM »
              Have you tried running the system off your boot disk? It looks like it might very well work just as it is. I suggest you make plenty of spare copies of the floppy disk.


              Dusty



                Egghead

              • I could if she would, but she won't so I don't.
              • Thanked: 75
              • Experience: Beginner
              • OS: Windows XP
              Re: can someone edit my autoexec.bat and config.sys please
              « Reply #12 on: March 26, 2009, 03:17:16 PM »
              I have found no problems in running MS-Dos 6.22 with all external commands and other programs installed on the D: partition.   It seems that you might have everything you need in the D:\DOS\ directory already.

              One good deed is worth more than a year of good intentions.

              nitsudm

                Topic Starter


                Rookie

                Re: can someone edit my autoexec.bat and config.sys please
                « Reply #13 on: March 26, 2009, 03:22:49 PM »
                It seems to be working pretty well the way it is - with the exception of a couple errors in reference to the lantasti drivers in line 11 and 12 of the config.sys (bad or missing and file not found - something I think I'll have to work on by myself

                This is what I get when booting to hard disk with my autoexec.bat and config.sys -

                Code: [Select]
                Himem testing memory done
                bad or missing \lantasti\protman.dos

                error in config.sys line 11
                bad or missing \lantasti\pnpnd.dos
                error in config.sys line 12
                file not found
                file not found
                too many parameters
                bad command or file name
                error
                error redir must be installed

                at the end of the autoexec.bat at line 13 where it says "m" it loads the menu for my program - the menu comes up in dos and instead of giving me a prompt that says d:\vss it gives me an error as follows:\

                Code: [Select]
                invalid command.com

                cannot load command
                system halted

                and then it freezes and I have to soft boot to restart


                In response to Dusty's reply

                Quote
                I have found no problems in running MS-Dos 6.22 with all external commands and other programs installed on the D: partition.   It seems that you might have everything you need in the D:\DOS\ directory already.

                The disk is exactly identical as it was before the power failure with the exeption to the mbr? and the fact that I have not transferred system files to d:\
                If I formated d: and transferred sys files then copy original contents to d: and apply autoexec.bat and config to the root of d: would that work? thanks a lot

                Dusty



                  Egghead

                • I could if she would, but she won't so I don't.
                • Thanked: 75
                • Experience: Beginner
                • OS: Windows XP
                Re: can someone edit my autoexec.bat and config.sys please
                « Reply #14 on: March 26, 2009, 03:41:21 PM »
                Quote
                If I formated d: and transferred sys files then copy original contents to d: and apply autoexec.bat and config to the root of d: would that work?

                Sorry, can't answer that, I have never tried booting MS-Dos from a hard drive on any partition other than C:
                One good deed is worth more than a year of good intentions.

                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]

                                  nitsudm

                                    Topic Starter


                                    Rookie

                                    Re: can someone edit my autoexec.bat and config.sys please
                                    « Reply #30 on: March 29, 2009, 10:10:26 PM »
                                    Ok, so I think I have most of this figured out here :-\ all but one line I think? I've loaded the driver for the ethernet card but when I get past the startnet.bat - (I think) and I receive an error that: "Lantastic Redirector (REDIR) must be installed". If I place the redir.exe somewhere in the autoexec.bat I get the error: "Netbios is not present". What should I do with the redirector? Here's the config.sys, autoexec.bat, startnet.bat,

                                    Here is the Config.sys and it all seems to work:

                                    Code: [Select]
                                    DEVICE=C:\DOS\HIMEM.SYS
                                    DEVICE=C:\DOS\EMM386.EXE NOEMS novcpi /i=e000-efff
                                    DEVICE=C:\DOS\SETVER.EXE
                                    device=c:\lantasti\protman.dos /I:C:\lantasti
                                    device=c:\lantasti\pcind.dos
                                    DOS=UMB,HIGH
                                    BUFFERS=40
                                    FILES=199
                                    LASTDRIVE=Z
                                    FCBS=4,0
                                    SHELL=C:\COMMAND.COM /P /E:1024
                                    STACKS=9,256
                                    [COMMON]

                                    And here's the Autoexec.bat:

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

                                    And here is the Startnet.bat:

                                    Code: [Select]
                                    @echo off
                                    rem LANtastic  Version 6.00  installed 95/12/00 14:45:58
                                    rem (for DOS)

                                    C:
                                    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%
                                    SET LAN_DIR=C:\LANTASTI.NET

                                    LOADHIGH AI-NDIS BIND_TO=PCIND_NIF
                                    AILANBIO @STARTNET.CFG

                                    REDIR MASTER @STARTNET.CFG

                                    IF EXIST NOSHARE GOTO :NOSHARE
                                    SERVER C:\LANTASTI.NET @STARTNET.CFG
                                    NET LOGIN \\MASTER
                                    GOTO :CONTINUE

                                    :NOSHARE
                                    @echo LANtastic server was installed but turned off.

                                    :CONTINUE

                                    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 use d: \\master\c-drive
                                    NET USE LPT1: \\MASTER\@PRINTER
                                    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 \

                                    And when I boot up I F8 and do it line by line and I get this below:

                                    Code: [Select]
                                    Starting MS-Dos...

                                    MS-DOS will prompt you to confirm each Config.sys command.
                                    DOS=UMB,HIGH [Y,N]?Y
                                    DEVICE=C:\DOS\HIMEM.SYS [Y,N]?Y

                                    HIMEM is testing extended memory...done.
                                    DEVICE=C:\DOS\EMM386.EXE NOEMS NOVCPI /I=E000-EFFF [Y,N]?Y
                                    DEVICE=C:\DOS\SETVER.EXE [Y,N]?Y
                                    DEVICE=C:\LANTASTI\PROTMAN.DOS /I:C:\LANTASTI [Y,N]?Y

                                    MS DOS LAN Manager Protocol Manager v2.0
                                    DEVICE=C:LANTASTI\PCIND.DOS [Y,N]?Y
                                    Loading PCIND.DOS..........
                                    RTL8029 driver (V5.0) is installed

                                    BUFFERS=40 [Y,N]?Y
                                    FLIES=199 [Y,N]?Y
                                    LASTDRIVE=Z [Y,N]?Y
                                    FCBS=4,0 [Y,N]?Y
                                    SHELL=C:\COMMAND.COM /P /E:1024 [Y,N]?Y
                                    STACKS=9,256 [Y,N]?Y

                                    Process AUTOEXEC.BAT [Y,N]?Y
                                    ECHO OFF [Y,N]?Y
                                    LH /L:0;1,45488 /S c:\dos\SMARTDRV.EXE /X [Y,N]?Y
                                    LH /L:1,13984 c:\dos\share [Y,N]?Y
                                    PROMPT $P$G [Y,N]?Y
                                    set clipper=f085 [Y,N]?Y
                                    PATH \;C:\DOS; [Y,N]?Y
                                    SET COMSPEC=c:\COMMAND.COM [Y,N]?Y
                                    LH /L:0;1,50304 /S COMMAND /E:1024 /C\LANTASTI\STARTNET.BAT [Y,N]?Y
                                    C:\LANTASTI\REDIR.EXE [Y,N]?Y
                                    LANtastic (R) Redirector V6.00/AI - (C) Copyright 1994 ARTISOFT Inc.
                                    Serial Number FCA-122234 - 1  node license.

                                    ERROR: NETBIOS is not present
                                    path=d:\vss;\;D:\DOS; [Y,N]?Y
                                    d:\lantasti\net clock \\master [Y,N]?Y

                                    ERROR: LANtastic (R) Redirector (REDIR) must be installed
                                    SET VSSTERM=2 [Y,N]?Y
                                    D: [Y,N]?Y
                                    D:\>


                                    Can any one see what is wrong here? I want this computer (Acually the D: drive) to be shared by two terminals and I want this computer to be named MASTER. I don't understand the "redir" or the netbios part of this. Sorry this is so long but I feel like i'm really close. Thanks a lot
                                    « Last Edit: March 29, 2009, 10:20:53 PM by nitsudm »

                                    nitsudm

                                      Topic Starter


                                      Rookie

                                      Re: can someone edit my autoexec.bat and config.sys please
                                      « Reply #31 on: March 30, 2009, 10:18:20 AM »
                                      Anyone have any information on the Netbios setup in ms-dos 6.22? as above? :)

                                      Also on line 10 of the autoexec.bat I have:

                                      Code: [Select]
                                      path=d:\vss;%path%
                                      and when that runs in dos prompt it turns into:

                                      Code: [Select]
                                      path=d:\vss;\;D:\DOS;
                                      why does it do that?
                                      « Last Edit: March 30, 2009, 04:01:50 PM by nitsudm »