1.

Solve : Config.sys editing?

Answer»

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

If you're interested, I have a little editor called edlin I can let you have cheap. 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. 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

Thanks and sorry for the english skill
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.

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



Discussion

No Comment Found