>>>>I could no longer run a small DOS program from within my EXE (VFP application). It said
>>>>"RUN command failed". It used to run well and today it can not run.
>>>>I did some changes to the application but I don't know which changes that cause this problem.
>>>>
>>>>Thanks for any help,
>>>
>>>Well, first I would suggest trying the run with some DOS command that you know works...like
>>>
>>>RUN dir c:
>>>
>>>If that works, then you know it is a problem with the .EXE...try shelling to DOS and going to your VFP current directory and try running the .EXE...
>>>
>>>Joe
>>
>>The DOS program runs well if I run my application EXE from within VFP 5.0.
>>Is it still possible that the DOS program damaged ?
>
>From within VFP...you mean from the command box? If it runs fine, then I don't think there is something wrong with the EXE. It may have something to do with the current directory when your program is being run...set the step on and have a look.
>
>Joe
This sounds like the shortcut to DOS. I've gotten this error before. I had to move a dos prompt shortcut to my
app directory. This was after moving to Windows 95. For some reason, VFP was
still looking to my old Dos PIF settings.
- Chris Holtz
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only