Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing Batch Files with Parameters
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00995512
Message ID:
00995517
Vues:
13
Try to specify full batch file name, includingt path and extension
run C:\myfolder\pdmimp.bat pic.tif
>I have a simple batch file named (pdmimp) which basically plays around with some of the proerties of any image that you run this file on. For example I have a tif image name pic.tif and when I run the batch file the batch file passes the name of the file into its program and exectues some properties. Basically if I goto a command line in windows and type:
>
>pdmimp pic.tif
>
>It will work fine. Pdmimp is the batch file and pic.tif is the image file.
>
>I would like to execute this from a program in foxpro. I have tried:
>
>run pdmimp pic.tif
>
>But this doesn't work. Any ideas?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform