>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?
>
>Many Thanks
I think you must specify the full filename for the batch file, or else it will not be found:
run pdmimp.bat pic.tif
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)