No, maby I didn't express myself correctly.
Your program is in "c:\unzipped\avspp-a2", where I unzipped it.
Now I type in the cmd prompt: "avspp examples\slideshow2.avp" and it works correctly. That line in the slideshow2.avp file is: foreach (glob(dirname(__FILE__) . '\loc_photos\*.jpg') as $fn) . If I edit that line to: foreach (glob(dirname(__FILE__) . 'C:\dvd covers\*.jpg') as $fn) and type the same thing in the cmd prompt, it doesn't work.
But if I move the slideshow2.avp in "c:\" and change the line to this: foreach (glob(dirname(__FILE__) . '\dvd covers\*.jpg') as $fn), and then type in the cmd prompt : "avspp c:\slideshow2.avp", it works.
So I have to have the slideshow2.avp file in the parent directory of the picture folder. in my case "C:\" . If the avp file is not there, it won't work.
Mabe that's the way it's supposed to be?.
__________________
Welcome....to the real world.
|