How do use the ECHO command so that does not display the contents of the
autoexec.bat and config.sys as Windows 95 boots up?
---End of message---
ECHO has nothing to do with that, it's the contents of the
MSDOS.SYS file which IS editable.
Google, it's fairly simple but too much typing for here
ECHO is just if you want the screen to tell you what it's doing
but does not involve the main 2 boot files.
--
"Who knows what the OP is talking about?"
(about thanatoid)
You can start your autoexec.bat with @echo off to turn off command echoing
but there is no equivalent command for config.sys.
However, you can hide autoexec and config.sys behind the startup logo (the
default installation) by reenabling logo.sys in the root of C:. These sites
should help you set it up. Logo.sys is actually a 320x400 bitmap file which
you can customize.
Contents of the Windows Msdos.sys File
http://support.microsoft.com/kb/118579
Startup screens for Windows 95/98/XP
http://www.seasip.demon.co.uk/ZX/screens.html
http://www.webtechgeek.com/How-to-Change-windows-Startup-Graphic.htm
http://cexx.org/snicker/logos.htm
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)
Essentially what I wanted to know was how to use the "echo off" command
in the autoexec.bat file so that it does not display its contents
(namely the device drivers) as the as it boots up. I remember being
able to do this but it has been so long in working with MS-DOS that I
forgot the procedure; Todd Vargo, I will have to proceed with your
suggestion.
---End of message---
>Essentially what I wanted to know was how to use the "echo off" command
>in the autoexec.bat file so that it does not display its contents
>(namely the device drivers) as the as it boots up. I remember being
>able to do this but it has been so long in working with MS-DOS that I
>forgot the procedure; Todd Vargo, I will have to proceed with your
>suggestion.
>
>---End of message---
Todd's suggestion is what I'd do if the text irritates you.
You cannot use echo off to suppress device driver text - but you can use
the ctty command.
ctty nul
every command between here will have no screen output
ctty con
You must use the ctty con command at the end of the batch file to restore
the ctty device else the keyboard and screen will be disabled.
From THE BATPOWER FAQ,
18. TIDYING SCREEN OUTPUT FROM A BATCH FILE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Q: How do I stop commands from displaying output on screen ?
A: Just re-direct their output to the 'nul' device.
E.G. PAUSE>NUL Will just wait for a keypress before
continuing, without displaying the usual message:
"Press any key to continue..."
To hide error messages as well you'll need to use:
CTTY NUL
command that displays error you don't want to see
CTTY CON
Be Careful ! While CTTY NUL : the keyboard is ignored !
Q: Sometimes when I execute a batch file after running I'm
left with more than one prompt (as if I'd hit Enter).
A: This is because the batch file has trailing carriage-
returns. Use a plain text (ASCII) editor to remove them.
Alternately, if you use: @Echo off
as the first line of the batch file, the trailing <cr>'s
will be ignored; hence, no multiple prompts.
I could be wrong, searching in deep recesses of failing memory,
but wouldn't
ECHO OFF
as first line of autoexec.bat do it?
"Kenn Caesius" <xilotea...@yahoo.com> wrote in message news:zuCdnVobmupRtCHU...@earthlink.com...
In Autoexec.bat...try appending >NUL
to any commands that appear on-screen.
Some work / some don`t.
"Kenn Caesius" <xilotea...@yahoo.com> wrote in message
news:w_qdnRaGOdsNXifU...@earthlink.com...
You are WAY offtrack.
>
> "Kenn Caesius" <xilotea...@yahoo.com> wrote in message
> news:w_qdnRaGOdsNXifU...@earthlink.com...
> >I am not exactly sure if this correct newsgroup but it does involve
> > MS-DOS, as used in windows 95.
> >
> > How do use the ECHO command so that does not display the contents of the
> > autoexec.bat and config.sys as Windows 95 boots up?
--
> ZACK` wrote:
>> try ontrack data recovery
>> http://www.ontrackdatarecovery.com.au/
>
> You are WAY offtrack.
He's a troll. He posted the exact same reply to two entirely
different questions.
>>
>> "Kenn Caesius" <xilotea...@yahoo.com> wrote in
>> message
>> news:w_qdnRaGOdsNXifU...@earthlink.com...
>> >I am not exactly sure if this correct newsgroup but it
>> >does involve
>> > MS-DOS, as used in windows 95.
>> >
>> > How do use the ECHO command so that does not display the
>> > contents of the autoexec.bat and config.sys as Windows
>> > 95 boots up?
>
--
After some experimenting with the "echo off" command as recommended by
Todd Vargo, I have discovered the following syntax modifies the contents
of their respective so that they do not expose themselves as windows 95
boots:
Config.sys
@ECHO OFF
DEVICE=C:\Windows\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\Windows\EMM386.EXE NOEMS
DEVICE=C:\WINDOWS\SETVER.EXE
DEVICE=C:\DOS\CDROM\CDROM.SYS /D:MSCD001
Autoexec.bat
C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS
SET TEMP=C:\DOS\Temp
PROMPT $p$g
@ECHO OFF
Despite the success, I do not understand why it works. When I compare
this the original text of the files, I realize that not only was the
syntax of the command important but also its location within the
commands of the file.
---End of message---
Move @echo off to the top of the autoexec.bat. Note, if you press the pause
key when the text begins scrolling during boot, you should see an error
message something to the effect of,
There is an invalid command in your config.sys file
There is an error in your CONFIG.SYS file on line ...
This error is caused by the @echo off in the config.sys file.
> Essentially what I wanted to know was how to use the "echo off" command
> in the autoexec.bat file so that it does not display its contents
> (namely the device drivers) as it boots up. I remember being
> able to do this but it has been so long in working with MS-DOS that I
> forgot the procedure;
*** As has been suggested, to prevent commands from being echoed to the
screen, have the first line be:
@ECHO OFF
... or use "CTTY NUL" to hide all output and then "CTTY CON" to restore
the screen and keyboard usage. You can also check each driver's
documentation to see if it has a "Quiet" mode that prevents screen output
during loading.
--------
DOS users can hide all output and substitute a splash screen during
bootup by using "BLACKOUT" by JP Morris.
One or more links to websites
for the referred program(s)
can be found at:
http://www.chebucto.ca/~ak621/DOS/Websites.html
Richard Bonner
http://www.chebucto.ca/~ak621/DOS/