Hi Guys;
I need to use EXECUTE PROGRAM to execute an EXE which this EXE takes different parameters for different actions. When parameters are applied, EXECUTE PROGRAM will not do anything.
I can run the same EXEC with parameters at command line and works.
I can put the EXEC with parameters in a batch file and call the batch file from EXECUTE PROGRAM and works.
But not if I put the parameters along with EXE it won't work.
I need to be able at runtime to change these parameters, according to the conditions, so the batch file won't work.
This is how I call the program:
EXECUTE PROGRAM 'exiftool -filename -gpslatitude -gpslongitude -T -n C:\at > C:\at\out.txt'
This should write "Out.txt" to folder "C:\at", but it doesn't. If related to rights, how do I resolve this?
UPDATE: It doesn't seem to be related to right, because I can use ImageMagic to create an image in the same directory and it works.
So somehow, AwarIM has a problem with this:
exiftool -filename -gpslatitude -gpslongitude -T -n C:\at > C:\at\out.txt
Has anyone resolved this?
Thanks!