Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run Command not working for Xcopy under NT
Message
 
À
19/03/2001 10:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00486484
Message ID:
00486499
Vues:
12
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
Fil
Voir

Click here to load this message in the networking platform