Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN /N COMMAND FAILED
Message
 
À
23/06/1999 16:17:53
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00233105
Message ID:
00233183
Vues:
34
>>>NOW WHEN I ISSUE
>>>run /N C:\Program Files\Microsoft Office\Office\EXCEL.EXE c:\foxprow\sample\dde\example.xls
>>>
>>Two possible solutions to the problem. First, would be to use the short path name. The problem, I think, is that FPW 2.6 is a 16 bit app and knows nothing about how to run an executable with a long filename.
>
>Hi there, guys!
>
>I was having the same problem today and actually solved it myself. (George, get up off the floor now... it shouldn't be that big of a heart attack causer :) ). Putting the path and name to excel in quotes worked for me. I.e.,
>
>
run /n "c:\program files\microsoft office\office\excel.exe"
>Hope that helps.

Hi Denise,

Nope, no heart attack, no falling on the floor< g >. I must admit, however, that I was too thick headed to try it.:-) Probably thinking that the problem was related to the old stuft in the 16 bit API, which the run command would use. Quite frankly, I didn't think it could recognize the long file names, with or without quotes.

Nice catch, Denise. Thanks for the heads up.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform