Archived from groups: microsoft.public.win98.gen_discussion (
More info?)
Well, since having disabled Autoexec.bat and Config.sys in MSCONFIG
(which is where those backups with TSH extension came from) you have
installed a couple more things. A ULead scanner or camera, and a
Creative app, probably some infrared device(?) Those installations added
new lines to the Autoexec.bat and Config.sys files that were not
retained when those got wiped out by restoring the TSH backups.
It's the Creative entry, I'm almost certain, that caused the error.
(Some sort of infrared device?)Use Find>Files & Folders to locate
CTVOLINI.EXE. Does it exist? And is it in the folder,
C:\Program Files\Creative\INFRA\ ? Regardless, I think the best way to
fix this is to reinstall it. See what gets added to Autoexec.bat and
Config.sys after installing it. Do this *after* doing the rest of what I
suggest--edit the files as suggested below and test, first, before
reinstalling the Creative software.
You also installed AVG and some ULead software (scanner or camera
related, probably.) You can either reinstall both or simply add the
proper lines back into the proper files. The easiest way to edit these
files is to run SYSEDIT from the Start\Run box.
Autoexec.bat: Add following lines at end of file:
SET PATH=%PATH%;C:\PROGRA~1\GRISOFT\AVG6
SET PATH=%PATH%;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG
SET PATH=%PATH%;C:\PROGRA~1\ULEADS~1\ULEADD~1
C:\PROGRA~1\GRISOFT\AVG7\BOOTUP.EXE
That's four lines, three that start SET PATH, and one that starts with
C:\PROGRA~1 and ends with BOOTUP.EXE. Your news reader--or mine-- may
wrap one or more lines and insert a line break.
The additional two lines in Config.sys are probably worth adding, too.
Though they usually aren't necessary for Windows 98, they might be
needed by the AVG BOOTUP.EXE program (or the Creative prog.) Put them at
the beginning of the file.
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE X=C000-CFFF
Now, you should see the lines from Autoexec.bat as you start up the
system. Once everything seems OK, if you'd rather *not* see those lines,
add this line to the top of Autoexec.bat:
@ECHO OFF
--
Gary S. Terhune
MS MVP Shell/User
http://www.grystmill.com/articles/cleanboot.htm
http://www.grystmill.com/articles/security.htm
"Terry" <terrybetts11138@hotmail.com> wrote in message
news:%23$F%23n7TFFHA.4052@TK2MSFTNGP14.phx.gbl...
> Magic!!
> 1) On reboot no "bad command" showing on the dos screen.
> 2) Yes...both config.tsh & autoexec.tsh have GONE from C:\
>
> Autoexec.bat
> mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
> mode con codepage select=850
> keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys
>
> Config.sys
> device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
> Country=044,850,C:\WINDOWS\COMMAND\country.sys
>
> What next may I ask??
>
> Terry
>
>