Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows 98 / General Topics / December 2006

Tip: Looking for answers? Try searching our database.

Corrupted Autoexec.bat

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BAP - 22 Dec 2006 12:51 GMT
Although my system (Intel Pentium II and W98SE) appears to work normally,
recently, during the booting stage I keep hearing a somewhat prolonged sound
while errors show up on the Monitor along with some weird characters.  I
checked the Autoxec.bat and, sure enough, there was a problem.  This is what
it shows: (the weird characters shown here are not quite the same as shown by
Word, but still weird)  

autoexec.bat    12/21/06
SET BLASTER=A220 I5 D1 H5 P330  T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
GIF89a) * ÷  …    ¢  ¡  Ÿ  œ  š  ~  }  s  g  ˜  —  •  “  ‘  Ž  Œ  ‰  ¢  ¡  
€  ’  £    ‚  ™  •  Ž  Š  ¡  †¤        ¢





¦

¢



Œ

¤  I  ¨  ›  ’  ‹  ª  £

******
In the same folder, past versions of the autoexec files show this
information:

autoexec.001    11/21/04
rem TShoot: @C:\PROGRA~1\GRISOFT\AVG6\bootup.exe
@if exist C:\WININST0.400\SuWarn.Bat call C:\WININST0.400\SuWarn.Bat
SET BLASTER=A240 I10 D3 H7 P330  T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
SET TEMP=C:\WINDOWS\TEMP

autoexec._av    08/03/04
@if exist C:\WININST0.400\SuWarn.Bat call C:\WININST0.400\SuWarn.Bat
SET BLASTER=A240 I10 D3 H7 P330  T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
SET TEMP=C:\WINDOWS\TEMP
******
Is there a way to recapture the good copy of the most recent one, gone bad?
dadiOH - 22 Dec 2006 13:09 GMT
> Although my system (Intel Pentium II and W98SE) appears to work
> normally, recently, during the booting stage I keep hearing a
[quoted text clipped - 45 lines]
> Is there a way to recapture the good copy of the most recent one,
> gone bad?

You mean other than replacing?   Just "save as" the good one with the
name of the bad one. Or copy and paste pertinent data from old good
one > new bad one after deleting bad parts in new one.

Signature

dadiOH
____________________________

dadiOH's dandies v3.06...
...a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico

BAP - 23 Dec 2006 10:25 GMT
I meant..... if there might have been a backup of the most current one
somewhere in the system. I guess that may not be the case considering all the
replies. I was not sure if, making one of the older ones current, might have
been proper.
Thank you, "dadiOH"!


> > Although my system (Intel Pentium II and W98SE) appears to work
> > normally, recently, during the booting stage I keep hearing a
[quoted text clipped - 49 lines]
> name of the bad one. Or copy and paste pertinent data from old good
> one > new bad one after deleting bad parts in new one.
Bill Watt - 24 Dec 2006 05:54 GMT
>I meant..... if there might have been a backup of the most current one
>somewhere in the system. I guess that may not be the case considering all the
>replies. I was not sure if, making one of the older ones current, might have
>been proper.
>Thank you, "dadiOH"!

You can check for a backup. With Windows Explorer select C:\ then
use FIND under the Tools tab.
Search for   Autoexec.*
Some may have different extensions.
Look at them with Notepad to see if there is a complete one without
the gibberish and similar to the bad one. Check the dates of the
files for more information.
If you find a good backup rename the bad one in C:\ to Autoexec.bad
and copy the good one in it's place making sure it's named
Autoexec.bat.

If needed restore the bad one.

Regards,

Bill Watt  
Win98 Computer Help & Other Information  http://home.ptd.net/~bwatt/
BAP - 24 Dec 2006 11:23 GMT
Bill, I followed your suggestion and found few autoexec files, but the most
recent is  autoexec.001 11/21/04

rem TShoot: @C:\PROGRA~1\GRISOFT\AVG6\bootup.exe
@if exist C:\WININST0.400\SuWarn.Bat call C:\WININST0.400\SuWarn.Bat
SET BLASTER=A240 I10 D3 H7 P330 T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
SET TEMP=C:\WINDOWS\TEMP

Jeff Richards suggested I make the current Autoexec.bat look like that one.
I suppose it will be OK to rename the current one Autoexec.bad and save the
autoexec.001 as autoexec.bat (or copy its contents and past them in a new
file that I can name autoexec.bat).
Thank you, Bill!

> >I meant..... if there might have been a backup of the most current one
> >somewhere in the system. I guess that may not be the case considering all the
[quoted text clipped - 19 lines]
> Bill Watt  
> Win98 Computer Help & Other Information  http://home.ptd.net/~bwatt/
Bill Watt - 25 Dec 2006 03:20 GMT
>Bill, I followed your suggestion and found few autoexec files, but the most
>recent is  ?autoexec.001 11/21/04
[quoted text clipped - 10 lines]
>autoexec.001 as autoexec.bat (or copy its contents and past them in a new
>file that I can name autoexec.bat).

SNIP

Either way should do it. Looks like AVG6 put the first line in the
file to have it load at boot.  Then something else REMed the line as
a Trouble Shooter so it would not load at boot. Maybe it was
conflicting with a later program install. AVG or one of the other
programs inserted a line and backed up the original file as
autoexec.001

Have a nice Holiday,

Regards,

Bill Watt  
Win98 Computer Help & Other Information  http://home.ptd.net/~bwatt/
BAP - 25 Dec 2006 10:23 GMT
Well done!

Happiness and health to you!

> >Bill, I followed your suggestion and found few autoexec files, but the most
> >recent is  ?autoexec.001 11/21/04
[quoted text clipped - 26 lines]
> Bill Watt  
> Win98 Computer Help & Other Information  http://home.ptd.net/~bwatt/
Don Phillipson - 22 Dec 2006 13:53 GMT
> Although my system (Intel Pentium II and W98SE) appears to work normally,
> recently, during the booting stage I keep hearing a somewhat prolonged sound
[quoted text clipped - 8 lines]
> C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
> GIF89a) * ÷  â€¦  Â  Â¢  Â¡  Å¸  Å“  Å¡  ~  }  s  g  Ëœ  â€”  â€¢  â€œ .
. .

> Is there a way to recapture the good copy of the most recent one, gone bad?

First, be advised that standard implementations of
Win98SE do not require AUTOEXEC.BAT.  Try
renaming yours something else, then reboot without
it.   This may be all your require.

E.g. the only non-environment command in your
AUTOEXEC initializes DOS drivers for your SB audio
card.  When Windows starts it provides its own Win98
drivers for the same audio card.   You would need the
DOS drivers only in order to play some ancient game
Win98 does not support (and there are few such . . .)

Signature

Don Phillipson
Carlsbad Springs
(Ottawa, Canada)

BAP - 23 Dec 2006 10:35 GMT
Thanks, Don, for clarifying my suspicion that the file may not be essential,
since all appears to work OK regardless of the problem. As far as an 'ancient
game', there is none special, and I am not that concerned, at the moment.
Thank you!

> > Although my system (Intel Pentium II and W98SE) appears to work normally,
> > recently, during the booting stage I keep hearing a somewhat prolonged
[quoted text clipped - 27 lines]
> DOS drivers only in order to play some ancient game
> Win98 does not support (and there are few such . . .)
Jeff Richards - 22 Dec 2006 17:12 GMT
Do Start and Run and enter SYSEDIT and select OK.

Select AUTOEXEC.BAT and make it look like this:

rem TShoot: @C:\PROGRA~1\GRISOFT\AVG6\bootup.exe
@if exist C:\WININST0.400\SuWarn.Bat call C:\WININST0.400\SuWarn.Bat
SET BLASTER=A240 I10 D3 H7 P330  T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
SET TEMP=C:\WINDOWS\TEMP

Based on the fragments you've found, that appears to be how it was
originally confgiured.  Some systems would have an extra line of

SET TMP=C:\WINDOWS\TEMP

Choose File Save and Exit.
Signature

Jeff Richards
MS MVP (Windows - Shell/User)

> Although my system (Intel Pentium II and W98SE) appears to work normally,
> recently, during the booting stage I keep hearing a somewhat prolonged
[quoted text clipped - 46 lines]
> Is there a way to recapture the good copy of the most recent one, gone
> bad?
BAP - 23 Dec 2006 10:41 GMT
That seems OK, Jeff. It should be easy to compose. Considering everything, I
assume the file, as shown, should not cause any problems. Thanks!

> Do Start and Run and enter SYSEDIT and select OK.
>
[quoted text clipped - 63 lines]
> > Is there a way to recapture the good copy of the most recent one, gone
> > bad?
glee - 23 Dec 2006 12:04 GMT
I notice you didn't reply to Laura Fredericks' post, which may be among the more
relevant replies.....she mentioned that editing the file in Word or another word
processor and saving it will cause corruption of the file.  I would add that is the
likely reason for the original corruption you found.  Only a "text only" editor
should be used.

Edit the autoexec.bat and other startup files using either Sysedit or
Notepad.....nothing else.
Signature

Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/

> That seems OK, Jeff. It should be easy to compose. Considering everything, I
> assume the file, as shown, should not cause any problems. Thanks!
[quoted text clipped - 66 lines]
>> > Is there a way to recapture the good copy of the most recent one, gone
>> > bad?
Wandering - 23 Dec 2006 16:14 GMT
That is harmless advice, and may be wise, but it is based on the idea
that the document saved in Word was saved in its native format .DOC.
It is simple to use File Save As, and then set Word to save as a Text
document, and then change the default extension (.txt) to .bat.  That
way you have all Word's editing facilities for work in the file.
Essentially the same technique will work in any word processor, not
just Word.

On the other hand, these files are short, have almost no formatting,
and the editors you mentioned will simply leave the file name and
extension alone.  That's why it's probably good advice, even if based
on a wrong notion. It is simply easier in simple text editors.

Have a great holiday.
I notice you didn't reply to Laura Fredericks' post, which may be
among the more
relevant replies.....she mentioned that editing the file in Word or
another word
processor and saving it will cause corruption of the file.  I would
add that is the
likely reason for the original corruption you found.  Only a "text
only" editor
should be used.

Edit the autoexec.bat and other startup files using either Sysedit or
Notepad.....nothing else.
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/

> That seems OK, Jeff. It should be easy to compose. Considering everything, I
> assume the file, as shown, should not cause any problems. Thanks!
[quoted text clipped - 71 lines]
>> > Is there a way to recapture the good copy of the most recent one, gone
>> > bad?
glee - 23 Dec 2006 22:41 GMT
Nah, it's not based on a wrong notion.  I am well aware of how to save documents in
word processors such as Word, as text only, or any of their supported formats.  :-)

The point is that without knowing the knowledge level of the poster, who
specifically mentioned using Word for this, it is very easy for them to have saved
in the wrong format.  It is just as easy to accidentally save using the wrong file
extension.  There is simply no good reason to edit any of the startup files, be it
autoexec.bat or config.sys or any of the .ini files, using a word processor;  and a
number of reasons why it should be avoided.

Happy Ho Ho Ho.
Signature

Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/
http://dts-l.org/goodpost.htm

> That is harmless advice, and may be wise, but it is based on the idea
> that the document saved in Word was saved in its native format .DOC.
[quoted text clipped - 112 lines]
> gone
>>> > bad?
Wandering - 24 Dec 2006 00:55 GMT
HI,

Didn't mean to hit a nerve!

It seems in your reply, you didn't read your own original post. You
contended twice that you should NEVER use Word to do this sort of
work.  I agree it is simpler, and probably much safer for the
uninitiated to follow that advice, and I said as much.

But NEVER is a strong word, and was based on the notion it would
CORRUPT the file. That is simply not true. There is no corruption,
only poor practice in saving in native format. You gave practical
advice that avoided the need for knowing proper use of Word!

As to what you knew about Word, well, I had no way to know that, but
it sure didn't sound like you knew what I wrote about.

Again, sorry if I offended. I simply use the tool that works best for
me at the time. That's why I left the simple text editors on the disk.

As to "no good reason", well that is a value judgment and an opinion,
not a fact! You are as welcome to yours as I am to mine.

Have a great holiday! I don't think this needs to go any further. I
doubt there are many here who didn't already know what I had to say in
any event. Obviously, you knew it! :)

Merry Christmas

Nah, it's not based on a wrong notion.  I am well aware of how to save
documents in
word processors such as Word, as text only, or any of their supported
formats.  :-)

The point is that without knowing the knowledge level of the poster,
who
specifically mentioned using Word for this, it is very easy for them
to have saved
in the wrong format.  It is just as easy to accidentally save using
the wrong file
extension.  There is simply no good reason to edit any of the startup
files, be it
autoexec.bat or config.sys or any of the .ini files, using a word
processor;  and a
number of reasons why it should be avoided.

Happy Ho Ho Ho.
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/
http://dts-l.org/goodpost.htm

> That is harmless advice, and may be wise, but it is based on the idea
> that the document saved in Word was saved in its native format .DOC.
[quoted text clipped - 114 lines]
> gone
>>> > bad?
Gary S. Terhune - 24 Dec 2006 04:45 GMT
I just can't imagine using Word for such a task, anyway, even if it *can* be
done, technically. Why load such a massive app for such a simple task,
especially when saving it requires such convoluted measures?

Signature

Gary S. Terhune
MS MVP Shell/User
http://grystmill.com/articles/cleanboot.htm
http://grystmill.com/articles/security.htm

> HI,
>
[quoted text clipped - 175 lines]
> > gone
> >>> > bad?
Wandering - 24 Dec 2006 17:21 GMT
Hello again, you seem to have several names.

Well, I hadn't meant to get into an extended discussion, but I don't
suppose another round matters much.

You see, it's not a matter of "can be done, technically", it is a
matter that it can be done easily, and often with superior benefits.

For a start, I don't see Word as a "massive app." Open Office, now
that's a massive app! (That is intended to be humor to lighten the
tone a bit.) Word comes up only a second slower on my machine than
does Note Pad.  If I load a text file, Word remembers it is a text
file, and I only have to be careful to save with the right extension.
But, while Word is running there are a number of advantages to having
the file in Word.

So, in the hope of enlightening your imagination, here are only a few
advantages.

It is trivially easy to rearrange the order of commands,
a significant matter with a number of device drivers.
Drag and Drop is a joy for that.
No keystrokes at all.

It is not just easier in Word, but it is not possible in Note Pad
to open two versions of bat (or old, or bad, or whatever) files,
and split the screen either synced or not,
and make comparisons,
drag and drop items between them,
and in general get the job done without use of paper notes
and with very few keystrokes.

Then, a bat file saved as a Word document can be password protected,
so only you have practical access to it.
It can then be called up at will,
and saved as a bat text file
to restore a genuinely corrupted bat file
which can be edited/corrupted by nearly anyone
and anything at will.
I know the native Word doc won't run as a bat file.

"Convoluted measures" consist of changing the extension txt supplied
by Word to bat, old, ugl, or whatever you choose. Not quite so easy as
Word Pad, but hardly convoluted.

So, I hope that inspires your imagination a bit.

Perhaps for emphasis, you do tend to sweeping overstatements.

What I keep wondering is, if we are not running DOS programs on the
machine, why are we even using an autoexec.bat file? I probably missed
that part of the thread.

Finally, I have no need to continue the discussion on this matter. My
daddy told me I couldn't ague anyone out of any position they were not
argued into in the first place. So, if you need the last word, I'll
read and ponder it, but I have finished with this thread.

Have a blessed holiday, and keep helping all those folks. You, which
ever of you is you, seem to do good work here. I do appreciate that.
Merry Christmas.

I just can't imagine using Word for such a task, anyway, even if it
*can* be
done, technically. Why load such a massive app for such a simple task,
especially when saving it requires such convoluted measures?

--
Gary S. Terhune
MS MVP Shell/User
http://grystmill.com/articles/cleanboot.htm
http://grystmill.com/articles/security.htm

> HI,
>
[quoted text clipped - 177 lines]
> > gone
> >>> > bad?
Gary S. Terhune - 28 Dec 2006 02:53 GMT
> Hello again, you seem to have several names.
>
[quoted text clipped - 3 lines]
> You see, it's not a matter of "can be done, technically", it is a
> matter that it can be done easily, and often with superior benefits.

The one "superior" benefit you don't seem to consider worth having is
"Safety".

> For a start, I don't see Word as a "massive app." Open Office, now
> that's a massive app! (That is intended to be humor to lighten the
[quoted text clipped - 3 lines]
> But, while Word is running there are a number of advantages to having
> the file in Word.

You don't "open Office". Office is a suite of apps. Yes, there's a common
tasks interface, but the apps open individually. And I wasn't just referring
to the speed it takes to open, I was also thinking of the amount of memory
and other resources (particularly Resources, with a capital R) involved.

> So, in the hope of enlightening your imagination, here are only a few
> advantages.
[quoted text clipped - 3 lines]
> Drag and Drop is a joy for that.
> No keystrokes at all.

Drag & Drop is mostly useful for making mistakes. And if you think D&D is a
"joy" compared to keystrokes, then we're just plain opposite in our
thinking. AFAIC, D&D is one of the most dangerous toys in Windows and I only
use it where it *really* makes a difference, not where a quick couple of
keystrokes can accomplish the same task. Besides, it's been a *long* time
since I've seen an Autoexec.bat or Config.sys file with more than a handful
of lines. Not since pure DOS days, and I don't think you had D&D in Word
capabilities with that OS.

> It is not just easier in Word, but it is not possible in Note Pad
> to open two versions of bat (or old, or bad, or whatever) files,
[quoted text clipped - 3 lines]
> and in general get the job done without use of paper notes
> and with very few keystrokes.

You most certainly *can* open more than one instance of a file in Notepad,
put them side by side and compare. That aside, I've already explained my
thinking on Drag & Drop, and the idea ofg adding notes to the file just
makes your concept all the worse.

> Then, a bat file saved as a Word document can be password protected,
> so only you have practical access to it.
[quoted text clipped - 4 lines]
> and anything at will.
> I know the native Word doc won't run as a bat file.

I can't imagine any reason for password-protecting a BAT file, but if you
insist. There are lots of other already well recognized ways to protect
system files.

> "Convoluted measures" consist of changing the extension txt supplied
> by Word to bat, old, ugl, or whatever you choose. Not quite so easy as
> Word Pad, but hardly convoluted.

I don't even recommend using WordPad for these purposes. It, too, is more
than just a plain-text editor and simple mistakes can ruin the kind of file
we're talking about quite easily. Same can be said for your Word method, and
it is the *potential_for_mistakes* that is the entire reason for *not* using
Word or WordPad or any other non-PT editor.

> So, I hope that inspires your imagination a bit.

Didn't need inspiring. You fell free to do as you wish, but it is *bad*
advice to suggest that anyone else use anythin gmore than a Plain Text
Editor like Notepad, or the specialized SYSEDIT to edit system configuration
files. Too easy to make a mistake that ruins the file such that only if you
really, really know what you're doing can you put it together again. Of
course, anywone who really, really knows what they're doing would just use
Notepad or SYSEDIT. That's what they're there for.

> Perhaps for emphasis, you do tend to sweeping overstatements.

Huh? I've made exactly two statements, both purely opinion and both exactly
on point. Compared to Notepad or SYSEDIT, Word is a *massive* application.
And saving the files in Word *is* convoluted, compared to the others. You
just don't seem to be listening and getting the main point, so I've repeated
it here a time or two, and I'll do it again right now: It is the
*potential_for_mistakes* that is the entire reason for *not* using Word or
WordPad or any other non-PT editor. Any good tech does what can be done to
minimize the potential for mistakes. That means, in part, using the right
tools for the job at hand, and Word is *not* the right tool for editing
system configuration files, specifically because of the potential for
mistakes. Period. That it is also quite cumbersome in comparison to the
right tools is only my added commentary, even if it's true.

> What I keep wondering is, if we are not running DOS programs on the
> machine, why are we even using an autoexec.bat file? I probably missed
> that part of the thread.

If you don't think that DOS is an integral part of Windows 9x systems, then
you are lacking in your education. If you think that BAT and SYS files,
etc., are strictly the domain of DOS then you have even more to learn. In
any case, the sepcific files involved, Autoexec.bat and Config.sys *aren't*
necessary in most Win98/98SE/ME systems.

> Finally, I have no need to continue the discussion on this matter. My
> daddy told me I couldn't ague anyone out of any position they were not
> argued into in the first place. So, if you need the last word, I'll
> read and ponder it, but I have finished with this thread.

Please take a quick look into the mirror, <s>. When you have no need to
continue a discussion, it's customary to stop doing it.

It's been pointed out to you the several ways your advocating the use of
Word to edit system configuration files is wrong-headed, and you fail to
address those points. You only want to engage in flights of fancy. You want
to make Word work for the purpose, and in fact, nobody has said it can't be
done. Only that it is a dumb thing to do and that it is an irresponsible
thing to suggest to others.

> Have a blessed holiday, and keep helping all those folks. You, which
> ever of you is you, seem to do good work here. I do appreciate that.
> Merry Christmas.

I hope yours went well. I took a couple of days off.

FYI, you've really been discussing this issue with several different people,
not just one person with different names. We've all been working on Windows
issues for several years now, full time, and the fact that we agree on this
issue should tell you something.

Signature

Gary S. Terhune
MS MVP Shell/User
http://grystmill.com/articles/cleanboot.htm
http://grystmill.com/articles/security.htm

Franc Zabkar - 29 Dec 2006 05:00 GMT
>> For a start, I don't see Word as a "massive app." Open Office, now
>> that's a massive app! (That is intended to be humor to lighten the
[quoted text clipped - 6 lines]
>You don't "open Office". Office is a suite of apps. Yes, there's a common
>tasks interface, but the apps open individually.

I think "Wandering" was referring to Sun's OpenOffice:
http://www.openoffice.org/product/

- Franc Zabkar
Signature

Please remove one 'i' from my address when replying by email.

Gary S. Terhune - 30 Dec 2006 07:00 GMT
<hand slapping head>

DOH!!!

Signature

Gary S. Terhune
MS-MVP Shell/User
http://grystmill.com/articles/cleanboot.htm
http://grystmill.com/articles/security.htm

>>> For a start, I don't see Word as a "massive app." Open Office, now
>>> that's a massive app! (That is intended to be humor to lighten the
[quoted text clipped - 11 lines]
>
> - Franc Zabkar
Curt Christianson - 31 Dec 2006 02:43 GMT
Nobody in their right mind should edit an autoexec  file, or *any*
plain-text file, in anything other than a "plain-text editor".  Notepad is a
plain-text editor.  While Word or Wordpad can *do* p.t., they're certainly
not considered p.t. apps. As Gary is trying to get through head, SAFETY *is*
the reason for that.

Signature

Curt   BD-MVBT
http://dundats.mvps.org/
http://dundats.proboards27.com/index.cgi
http://www.aumha.org/

glee - 24 Dec 2006 04:45 GMT
- Didn't hit a nerve....I guess you missed the smiley.
- I never used the word Never in my original reply....seems you didn't read it
either.  ;-)

- Opinion?  Sure it is.  But there are so many other ways to corrupt the file with a
word processor even while properly saving as text only and with the proper
extension, that I *will* say now that a word processor should never be used to edit
those files.  :-)

Simple example: Someone edits the file and then decides to "add a comment" to remind
them of what changes were made when, not realising the comment is added directly to
the file when saved as text only.  Ditto having the option to use page numbers
enabled.

A file that should look like this:
---------
@echo off
start notepad.exe

exit
---------

Ends up like this after saving:
---------
@echo off
start notepad.exe
[GaL1]
exit
[GaL1]changed saturday

1
---------

Additionally, a carriage return is added at the end of the file text when saved and
there are no page numbers or comments involved, even though none was entered when
editing.  These are just a couple of the simplest ways off the top of my already
thin-sliced head that the file can be corrupted while still saving as text only.

So I reiterate....do not use a word processor for editing the Windows startup files.
:-)  And really, I am not trying to argue and do agree with the validity of your
points, but I just feel a word processor is such a very bad choice for this,
particularly as it relates to the original post, that it should be avoided at all
times.

Happy Holidays!
Signature

Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/
http://dts-l.org/goodpost.htm

> HI,
>
[quoted text clipped - 175 lines]
>> gone
>>>> > bad?
BAP - 24 Dec 2006 11:46 GMT
EASY, fellows!

I do have various word processors.....WordPerfect, Word, Notepad,
Wordpad....but I am used to use WordPerfect.
Easier for me??

When reporting the problem, Word appeared closer to what I saw when I use
the type command to show Autoexec.bat at the Dos Prompt. I, further, issue
the command to copy the file to a .txt file, but did not pay attention that
it would have been better to read it with Notepad and use that for the post.
It was my fault!
I am a simple user and can't quite follow all that you and Wandering are
commenting about.  

Thank you for the help and Merry Christmas to each of you and to everyone in
the NewsGroup, experts and 'just users'!
****

> - Didn't hit a nerve....I guess you missed the smiley.
> - I never used the word Never in my original reply....seems you didn't read it
[quoted text clipped - 220 lines]
> >> gone
> >>>> > bad?
glee - 24 Dec 2006 21:31 GMT
I understand, BAP.  The concern was that you may have been editing the file with a
word processor in the past, and saved it in a format other than as a plain text
format, that corrupted it.  The rest of the discussion is mostly semantics and
differing opinions.

Basically, simple users and newbies should avoid using a word processor for these
startup files, to avoid problems.  More experienced users will find advantages to
using a word processor for them, with care, as Wandering mentioned.  I do for more
extended work, but I do not recommend it on the groups to the average user.  I have
seen too many times how an inexperienced user can mess something up due to *too
many* options and choices in an app.

Happy Holidays, and I hope some of you actually got an extra day off to enjoy them.
:-)
Signature

Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/
http://dts-l.org/goodpost.htm

> EASY, fellows!
>
[quoted text clipped - 244 lines]
>> >> gone
>> >>>> > bad?
BAP - 25 Dec 2006 10:20 GMT
Thank you for the clarification, Glen!

Health and happiness to you!

> I understand, BAP.  The concern was that you may have been editing the file with a
> word processor in the past, and saved it in a format other than as a plain text
[quoted text clipped - 258 lines]
> >> >> gone
> >> >>>> > bad?
Laura Fredericks - 22 Dec 2006 18:19 GMT
>...(the weird characters shown here are not quite the same as shown
>by  Word, but still weird)  

You should ONLY open .bat files in Notepad. If you opened
autoexec.bat in Word and then SAVED IT, it will get corrupted.

Signature

Laura Fredericks
PGP key ID - DH/DSS 2048/1024: 0xC753039A

MARCH 11, 2007: D(ST) DAY FOR WIN98 USERS!
Change your registry BEFORE 3/11/07!!!!!!!
Because of the Energy Policy Act, Daylight
Saving Time is extended by four weeks in
the U.S., starting in 2007.  Microsoft
WILL NOT release an update for old, non-
supported operating systems such as
Windows 98. Therefore, you must do it
manually BEFORE March 11, 2007. See the
following for details:
http://support.microsoft.com/?kbid=914387

Usenet Flamewars:
http://www.queenofcyberspace.com/usenet/

Remove CLOTHES to reply.

Franc Zabkar - 23 Dec 2006 00:12 GMT
>GIF89a) * ÷  …  ?  ¢  ¡  Ÿ  œ  š  ~  }  s  g  ˜  —  •  “  ‘  Ž  Œ  ‰  ¢  ¡  

Maybe somebody/something tried to embed an animated GIF ???

See
http://whatis.techtarget.com/definition/0,289893,sid9_gci212191,00.html

- Franc Zabkar
Signature

Please remove one 'i' from my address when replying by email.

BAP - 23 Dec 2006 10:56 GMT
From the appearance, it does make sense, but I have no clues.
Thanks, Frank!

> >GIF89a) * ÷  …  ?  ¢  ¡  Ÿ  œ  š  ~  }  s  g  ˜  —  •  “  ‘  Ž  Œ  ‰  ¢  ¡  
>
[quoted text clipped - 4 lines]
>
> - Franc Zabkar
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.