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

Author Topic: Config.sys editing  (Read 5070 times)

0 Members and 1 Guest are viewing this topic.

Yumero

    Topic Starter


    Starter

    Config.sys editing
    « on: October 10, 2008, 12:51:01 PM »
    Hi everyone,

    I juste have a question about config.sys that I've tell in irc CH's channel and no one could answer me.
    In a scenario where I only have Io.sys Msdos.sys and comand.com I would like to edit Config.sys, without any editors,
    is there any solutions ?

    Thanks and sorry for the baddest english in the world.

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: Config.sys editing
    « Reply #1 on: October 10, 2008, 03:42:32 PM »
    This is like stepping into a time warp and it's not pretty. You can use the copy command to write your file:

    Code: [Select]
    copy con config.sys

    After the copy command, enter each line of your file. You cannot edit lines, so if you make a mistake, start over. You can backspace in the current line only.

    Use ctl-Z or F6 to create a end of file marker. Hit enter one last time to return to command prompt. For obvious reasons, copy con works best with low volume input.

    Good luck.  8)

    If you're interested, I have a little editor called edlin I can let you have cheap. ;D
    « Last Edit: October 10, 2008, 03:54:14 PM by Sidewinder »
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    dslgeek



      Beginner
      Re: Config.sys editing
      « Reply #2 on: October 10, 2008, 06:44:11 PM »
      Were you really going to offer Edlin?   ::)
      What DOS is the person using? MS-DOS? Some versions have QBASIC and there is a EDIT command that uses that to edit text files.   :D

      Yumero

        Topic Starter


        Starter

        Re: Config.sys editing
        « Reply #3 on: October 11, 2008, 06:08:12 AM »
        Good morning,

        Thanks for the answer I just mail my professor to get the real question,
        That is the complete question :
        " Your aim is to create a CONFIG.SYS or AUTOEXEC.BAT file with only using the internal command from MS-DOS ( 6.0 or older ) IO.SYS MSDOS.SYS and COMMAND.COM.

        I think I'am gonna use Copy CON given that no one editor is allowed.

        One example of Config.sys :
        Device=c:\DOS\himem.sys
        Device =c:\DOS\ Emm386.exe Noems
        DOS=high,UMB
        DEVICEHIGH=c:\mouse\mouse.sys
        BUFFERS=20
        FILES=40

        I'am trying to stay tuned !!
        And if you got any other solutions :D

        Thanks and sorry for the english skill

        Dias de verano

        • Guest
        Re: Config.sys editing
        « Reply #4 on: October 11, 2008, 06:54:50 AM »
        I have used ECHO and the > and >> redirection symbols many times to do this task.

        Code: [Select]
        C:\>echo Device=c:\DOS\himem.sys > config.sys

        C:\>echo Device=c:\DOS\Emm386.exe Noems >> config.sys

        C:\>echo DOS=high,UMB >> config.sys

        C:\>echo DEVICEHIGH=c:\mouse\mouse.sys >> config.sys

        C:\>echo BUFFERS=20 >> config.sys

        C:\>echo FILES=40 >> config.sys

        Code: [Select]
        C:\>echo @echo off > autoexec.bat

        C:\>echo prompt $P$G >> autoexec.bat

        C:\>echo PATH=C:\DOS;C:\WINDOWS >> autoexec.bat

        C:\>set TEMP=C:\TEMP >> autoexec.bat

        C:\>set BLASTER=A220 I7 D1 T2 >> autoexec.bat

        C:\>lh smartdrv.exe >> autoexec.bat

        C:\>lh doskey >> autoexec.bat

        Yumero, if you couldn't think of this very basic thing by yourself, and if your idea of "research" is to ask on IRC and on here, I think this course is not for you.

        « Last Edit: October 11, 2008, 07:08:28 AM by Dias de verano »

        Yumero

          Topic Starter


          Starter

          Re: Config.sys editing
          « Reply #5 on: October 11, 2008, 07:59:36 AM »
          " Of this very basic thing "
          Ok everyone begin may you are unbeatable about MS-DOS but I'm a neophyts then because I'am posting here you think I didn't search or try myself ?
          It's real i didn't really search and reflect about the solution.
          But when in the Windows course you have only see how to MD CD RD and Tree /F how do you want to make this thing... Maybe it's innocuous for you not as for me bare with me and if you think that it's too easy for me to ask the question here just gimme the way.

          Anyway thanks you I'm working on to make a complete answers with every indication cya.