Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOSSHELL.EXE has a problem

96 views
Skip to first unread message

James Johnston

unread,
Sep 16, 1998, 3:00:00 AM9/16/98
to
I upgraded my 386 from MS-DOS 5.0 /w Windows 3.1 to Windows 95. Now,
whenever I try to start a program in DOSSHELL.EXE (an .exe I double-click, a
program in a program group, etc.), the screen goes black and then at the top
I see "Bad Command or File Name." ??? I see this for a second and then DOS
shell reloads. The program never started.

I'm stumped: could someone please help me???

I have the following files in C:\DOS:

DOSSHELL.COM
DOSSHELL.EXE
DOSSHELL.GRB
DOSSHELL.HLP
DOSSHELL.VID
DOSSHELL.INI
DOSSWAP.EXE
PRINT.EXE

If other files are needed (besides stuff like COMMAND.COM) please let me
know - I plan to store just the DOSSHELL files in another directory.

I have the following environment variables set:

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
ICC11_INCLUDE=C:\ICC11\include
ICC11_LIB=C:\ICC11\lib
ICC11_LINKER_OPTS=-btext:0xF800 -dinit_sp:0x00FF -dheap_size:0
windir=C:\WINDOWS
BLASTER=A220 I5 D1
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ICC11\BIN;C:\ICC11\JAMESBAT;C:\WINDOWS
\TEMP;C:\DOS

Now, could someone please tell me why oh why it doesn't work??????

Any help would be appreciated.

--
James Johnston
E-mail: johnsto...@usa.net

James Johnston.vcf

Errol M. Nielsen

unread,
Sep 16, 1998, 3:00:00 AM9/16/98
to
Are you having these problems within W95 or in Dos mode?

Errol

James Johnston wrote

Marc Miron

unread,
Sep 17, 1998, 3:00:00 AM9/17/98
to
We'll I'd have to start with maybe putting your C:\DOS folder (directory) in
your path as well.

Marc


James Johnston

unread,
Sep 17, 1998, 3:00:00 AM9/17/98
to
Within W95 - I have to be able to run in in Win95, so DOS mode is not an
option.

--
James Johnston
E-mail: johnsto...@usa.net

Errol M. Nielsen wrote in message ...

James Johnston.vcf

James Johnston

unread,
Sep 17, 1998, 3:00:00 AM9/17/98
to
I have tried that and it doesn't work.

--
James Johnston
E-mail: johnsto...@usa.net

Marc Miron wrote in message <6tr2i2$4p8$1...@nr1.ottawa.istar.net>...

James Johnston.vcf

J. Keith Jackson

unread,
Sep 18, 1998, 3:00:00 AM9/18/98
to

James:

First, make sure you are running DOSSHELL.COM. It is a loader that
calls DOSSHELL.EXE to do all the work.

Second, yes, COMMAND.COM must be in C:\DOS.

When you run an app from the shell, it loads a new copy of COMMAND.COM
to do it. It is apparently hard-coded to look for it in the C:\DOS
directory. The message you are getting is because it cannot find
COMMAND.COM.

If this doesn't work, I'm stumped.

J. Keith Jackson
kjac...@usamail.usouthal.edu

David Gill

unread,
Sep 19, 1998, 3:00:00 AM9/19/98
to
It might have something to do with the version of COMMAND.COM that you are
running- if I remember correctly, you can fool DOSSHELL by using either SET
VER or SHELL= and the path to the version of file you want to use (older).
Sorry I am being so vague- it has been a while, and I may not be entirely
correct, but possibly a real DOS guru will come out of the forest and give
you the specific stuff- hope this helps!

J. Keith Jackson wrote in message <3602C2...@usamail.usouthal.edu>...

arn...@accs.net

unread,
Sep 20, 1998, 3:00:00 AM9/20/98
to
I have the same problem. But if I exit from Windows to a DOS Prompt it works
ok.

I know Dosshell when it runs a program it writes a .BAT file to run the
program from.

I'm stumped also.

In article <3602C2...@usamail.usouthal.edu>,

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

Ken

unread,
Sep 22, 1998, 3:00:00 AM9/22/98
to
DOS Shell has an "active task" list that lets you launch more then one
program at the same time. When you are working in one program all the
others become suspended. This was an early form of DOS "multi-tasking"
called "task switching". It is possible that Windows knows this and
will not let DOS Shell launch any programs. Try turning the off the
active task list if you have it turned on.

Because it works when Windows is not loaded, I suspect that Windows is
refusing to let DOS Shell launch programs.

I tried running DOS Shell under Win95 and could not even get it to run
in graphical mode correctly. Only text mode worked. I noticed as well
that I was unable to launch programs from within it. I gave up fairly
quickly because I didn't see the sense it it. Just out of interest
sake, are you trying to launch a Windows or a DOS executable?

--
Ken
mailto:flor...@floridus.com
http://www.floridus.com/

Rainer Maoro

unread,
Sep 24, 1998, 3:00:00 AM9/24/98
to
Dear James,
someone told you to wait for "The DOS-Guru from out of the jungle" ;
well, - your problem is not a DOS-problem (there were quite few compared
with Windows xxx !), it愀 just EXACTLY THIS :

One of the other authors (above) was very close: DOSSHELL will load
a new COMMAND.COM each time you start a Programm . That means
that all the DOS-Environment (PATH , Settings like BLASTER , etc.) will be
lost for the actual session under this "brandnew" Command.com ! ! - This is
typical for WIN95/98
Whenever a program depends on any tool or utility (or whatever), which is
usually found within the PATH (now lost) you will reveive the answer "Bad
file or command" , exactly the way to described in the beginning !
===================================================================
SOLUTION (in case, that you really need your DOSSHELL for the rest of your
life) :
===================================================================

I惴 sending you the file "winset.exe" which can be used similiar to the
command SET
under DOS . Find a way to grab your environment entries and RE-SET them by
using
WINSET ! - Result : Settings made thisway (in Dos-Box or within Windows)
will be available for each command.com-session you惻l start from now on (BUT
NOT IN THE ACTUAL ONE !!! - DUE TO THIS YOU NEED
"SET PATH=xyz" AND "WINSET PATH=xyz"
=========================================
THE SAME TIME ! --- "SET" for this, - "WINSET" for later sessions , gotme
?)

Try this ! Good luck

answer by email prefered

Rainer Maoro - Steinhagen /germany


arn...@accs.net

unread,
Sep 24, 1998, 3:00:00 AM9/24/98
to
Just what I thought. Another Windows 95 bug that needs a patch.


In article <ukWUHH2...@uppssnewspub05.moswest.msn.net>,

-----== Posted via Deja News, The Leader in Internet Discussion ==-----

Robert Johnston

unread,
Sep 24, 1998, 3:00:00 AM9/24/98
to
DOS executable.

Ken wrote in message <3607F850...@floridus.com>...

Robert Johnston

unread,
Sep 24, 1998, 3:00:00 AM9/24/98
to
Thanks for everybody's help, but DOSSHELL.EXE still won't run!

I use CD\DOS to get to the DOS directory and then type DOSSHELL.COM, but it
doesn't work...

I copied the newest Win95 COMMAND.COM from C:\WINDOWS and replaced the old
one in C:\DOS, but it doesn't work...

I entered the following into the dos box:

SETVER DOSSHELL.COM 5.00
SETVER DOSSHELL.EXE 5.00
SETVER DOSSWAP.EXE 5.00

and rebooted but it still doesn't work (after rebooting, I typed SETVER to
make sure the new entries were remembered - they were)...

I have multitasking disabled when I try to start a program in DOSSHELL but
it still doesn't work...

I'm trying to start a DOS executable...

I tried the followng commands after copying WINSET:

WINSET PATH=%PATH%;C:\DOS
SET PATH=%PATH%;C:\DOS

and it still doesn't work...

BTW it works in DOS mode but not under Windows, but running it in DOS mode
isn't an option for me.

James Johnston wrote in message ...

>E-mail: johnsto...@usa.net
>
>
>
>

davidab

unread,
Sep 26, 1998, 3:00:00 AM9/26/98
to
Hi

Is there a need for you to use the DOSSHELL?? You can almost always get a
DOS program to work in 95 by creating a shortcut to the desktop from the
'exe' file.

When you click on the icon 95 automatically 'shells' out to the DOS window
and runs the program.

Try it and let me know how you get on!

Regards,

David
arn...@accs.net wrote in message <6u320p$1va$1...@nnrp1.dejanews.com>...


>I have the same problem. But if I exit from Windows to a DOS Prompt it
works
>ok.
>
>I know Dosshell when it runs a program it writes a .BAT file to run the
>program from.
>
>I'm stumped also.
>
>
>
>In article <3602C2...@usamail.usouthal.edu>,
> kjac...@usamail.usouthal.edu wrote:
>> James Johnston wrote:
>> >

>> James:
>>
>> First, make sure you are running DOSSHELL.COM. It is a loader that
>> calls DOSSHELL.EXE to do all the work.
>>
>> Second, yes, COMMAND.COM must be in C:\DOS.
>>
>> When you run an app from the shell, it loads a new copy of COMMAND.COM
>> to do it. It is apparently hard-coded to look for it in the C:\DOS
>> directory. The message you are getting is because it cannot find
>> COMMAND.COM.
>>
>> If this doesn't work, I'm stumped.
>>
>> J. Keith Jackson
>> kjac...@usamail.usouthal.edu
>>
>

Bobbiedu

unread,
Sep 30, 1998, 3:00:00 AM9/30/98
to
Hi James,

I understand your upgrade path but not which version of Works this is
effecting?

Bobbie


James Johnston wrote in message ...

>E-mail: johnsto...@usa.net
>
>
>
>

0 new messages