Just want to tell, you are not alone. And it may happen on another Windows too.
Option \N sometimes help, but sometimes invoke this error itself. It seems that sometimes the system can not recognize whether option \N belongs to RUN or to the calling command (like XCOPY that also has \N option itself). I try to avoid 'run' when it is possible.
>>>>>>>>>>>>>>your message below
I am having trouble getting the run command to work properly for Foxpro 2.6 running under NT.
Originally I was having a problem with the error
RUN/! COMMAND FAILED
The following function appeared to fix this problem for most commands however I am still a bit unsure why.
func dosrun
param lcDosCom
lcCom='RUN /N FOXRUN.PIF /C '+lcdosCom
&lcCom
return
The fix does not seem to work for commands that take longer to execute however.
For those commands the DOS window flashes up but nothing happens.
I cannot use Ed's utility API_APPRUN because its a VCX though I suppose perhaps if I looked at it I could strip the relevant bits out.
Has anyone already solved this problem:)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement