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 16625 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.