dbTalk Databases Forums  

FoxPro/DOS run problem

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss FoxPro/DOS run problem in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John R. Sowden
 
Posts: n/a

Default FoxPro/DOS run problem - 07-24-2010 , 10:34 PM






cannot get the run command to work. As best I understand, there are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a 40k
editor. I made sure the comspec variable is set to the current ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro resides,
and in the foxpro "default" directory. All give the the foxpro (not DOS)
error run/! failed.

how about this one?

John

Reply With Quote
  #2  
Old   
Dan Freeman
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-25-2010 , 09:45 AM






What is the exact command that is failing?


John R. Sowden explained :
Quote:
cannot get the run command to work. As best I understand, there are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a 40k
editor. I made sure the comspec variable is set to the current ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro resides,
and in the foxpro "default" directory. All give the the foxpro (not DOS)
error run/! failed.

how about this one?

John

Reply With Quote
  #3  
Old   
John R. Sowden
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-27-2010 , 05:11 PM



1) run date
2) run \utils\ed.com
3) run \utils\ed
4) run /100k \utils\ed
5) run /100k \utils\ed.com
6) run /0k \utils\ed
7) run /0k \utils\ed.com

comspec=\4dos7\4dos.com
alternate after changing to the ms-dos ccp: comspec=\command.com
I also placed command.com in the directory with foxpro and in foxpro's
default directory

date is the internal date command

thanks for the interest,
John


Dan Freeman wrote:

Quote:
What is the exact command that is failing?


John R. Sowden explained :
cannot get the run command to work. As best I understand, there
are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a
40k
editor. I made sure the comspec variable is set to the current
ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro
resides,
and in the foxpro "default" directory. All give the the foxpro
(not DOS)
error run/! failed.

how about this one?

John

Reply With Quote
  #4  
Old   
Dan Freeman
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-27-2010 , 06:35 PM



So you're running FPD in DOS? Not in Windows at all?

I haven't seen DOS since around 1992, so I'm not going to be of much
help but hopefully someone will see the details you've posted and chime
in.

Dan

John R. Sowden explained on 7/27/2010 :
Quote:
1) run date
2) run \utils\ed.com
3) run \utils\ed
4) run /100k \utils\ed
5) run /100k \utils\ed.com
6) run /0k \utils\ed
7) run /0k \utils\ed.com

comspec=\4dos7\4dos.com
alternate after changing to the ms-dos ccp: comspec=\command.com
I also placed command.com in the directory with foxpro and in foxpro's
default directory

date is the internal date command

thanks for the interest,
John


Dan Freeman wrote:

What is the exact command that is failing?


John R. Sowden explained :
cannot get the run command to work. As best I understand, there are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a 40k
editor. I made sure the comspec variable is set to the current ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro resides,
and in the foxpro "default" directory. All give the the foxpro (not DOS)
error run/! failed.

how about this one?

John

Reply With Quote
  #5  
Old   
Bernhard Sander
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-28-2010 , 04:16 AM



Hi John,

Quote:
cannot get the run command to work. As best I understand, there are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a 40k
editor. I made sure the comspec variable is set to the current ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro resides,
and in the foxpro "default" directory. All give the the foxpro (not DOS)
error run/! failed.
I remember something from FPD2.5 that foxswap.com musst be available. Don't
know, whether it is necessary in FPD2.6
This program should be in the foxpro directory, in the starting directory of
your program or in the DOS-path.

Regards
Bernhard Sander

Reply With Quote
  #6  
Old   
Jan Bucek
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-28-2010 , 06:04 AM



1. Any error message?

2. Try to call following batchfile to see if anything happened:

ECHO TEST
PAUSE


3. Do you run it in Windows DosBox or in pure DOSlike OS?



Dne 28.7.2010 0:11, John R. Sowden napsal(a):
Quote:
1) run date
2) run \utils\ed.com
3) run \utils\ed
4) run /100k \utils\ed
5) run /100k \utils\ed.com
6) run /0k \utils\ed
7) run /0k \utils\ed.com

comspec=\4dos7\4dos.com
alternate after changing to the ms-dos ccp: comspec=\command.com
I also placed command.com in the directory with foxpro and in foxpro's
default directory

date is the internal date command

thanks for the interest,
John


Dan Freeman wrote:

What is the exact command that is failing?


John R. Sowden explained :
cannot get the run command to work. As best I understand, there
are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a
40k
editor. I made sure the comspec variable is set to the current
ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro
resides,
and in the foxpro "default" directory. All give the the foxpro
(not DOS)
error run/! failed.

how about this one?

John

Reply With Quote
  #7  
Old   
John R. Sowden
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-28-2010 , 09:02 PM



Well, all, Yes I am running Foxpro/DOS in DOS. MS-DOS with 4dos as
the command processor, but I did try ms' command.com. both failed. I
am not running windows in this environment. foxswap is used if I give
the arguement /0K. I tried that also. foxswap resides in the
directory when foxpro.exe resides. It is not in the path. I have
181k of available ram per sys(12).




Bernhard Sander wrote:

Quote:
Hi John,

cannot get the run command to work. As best I understand, there
are 2
issues: sufficient ram, and foxpro's ability to find the command
processor (command.com)

running ? sys(12) shows 181k of memory. I think I am ok to run a
40k
editor. I made sure the comspec variable is set to the current
ccp. I
even removed 4dos and replaced it with command.com, in the comspec
variable, in the root directory, in the directory where foxpro
resides,
and in the foxpro "default" directory. All give the the foxpro
(not DOS)
error run/! failed.

I remember something from FPD2.5 that foxswap.com musst be
available.
Don't know, whether it is necessary in FPD2.6
This program should be in the foxpro directory, in the starting
directory
of your program or in the DOS-path.

Regards
Bernhard Sander

Reply With Quote
  #8  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-28-2010 , 09:27 PM



On Wed, 28 Jul 2010 19:02:52 -0700, "John R. Sowden"
<jsowden (AT) americansentry (DOT) net> wrote:

Quote:
Well, all, Yes I am running Foxpro/DOS in DOS. MS-DOS with 4dos as
the command processor, but I did try ms' command.com. both failed. I
am not running windows in this environment. foxswap is used if I give
the arguement /0K. I tried that also. foxswap resides in the
directory when foxpro.exe resides. It is not in the path. I have
181k of available ram per sys(12).
Just a couple of points in passing:

Is there more than one foxpro.exe on the system? If so, is the
right foxpro.exe being run, that is, out of the correct directory?

Is the environment variable COMSPEC set correctly?

[snip]

Sincerely,

Gene Wirchenko

Reply With Quote
  #9  
Old   
Dan Freeman
 
Posts: n/a

Default Re: FoxPro/DOS run problem - 07-28-2010 , 10:54 PM



How much total system memory?

I hate to say this, but you're in a bit of a voodoo area when it comes
to FPD. Over the years there was much ink spilled writing articles
about memory configuration and getting FP to work best (or, often, at
all). You're a bit unlikely to find anyone who remembers anyone because
it was *complex*.

I dont' think you'll be able to just "point at" command.com -- I think
you actually have to boot that version of DOS to use it.

The one universal truth was that Foxpro loves memory, lots of memory,
and then more memory. And it was picky as all get out about how it was
configured.

Dan

John R. Sowden expressed precisely :
Quote:
Well, all, Yes I am running Foxpro/DOS in DOS. MS-DOS with 4dos as
the command processor, but I did try ms' command.com. both failed. I
am not running windows in this environment. foxswap is used if I give
the arguement /0K. I tried that also. foxswap resides in the
directory when foxpro.exe resides. It is not in the path. I have
181k of available ram per sys(12).

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.