Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run batch file
Message
 
À
23/09/2002 06:48:25
Wilfred Chan
Bnp Paribas Hong Kong Branch
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00703275
Message ID:
00703408
Vues:
12
Try the short (DOS) name of the directory, something like:
run "\prj\testin~1\test.bat"

Jaime

>I tried. It seems it doesn't accept long path name.
>e.g. run "\prj\testing long path\test.bat"
>
>Thanks, Wilfred
>
>>Why don't you use the RUN command?
>>
>>>Dear all,
>>>
>>>I'm trying to run an external batch file with the following code
>>>
>>>nRet = shellexecute(FindWindow( 0, _SCREEN.CAPTION),"open",{Batch file},"","",1)
>>>
>>>But it failed in some workstations (NT 4.0).
>>>Any ideas? Or alternatives?
>>>
>>>Thank you, Wilfred
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform