Bug with object.Picture with different folder and file

Hello all i've scripted an image viewer that reads the "urls" of the images from a list called "temp" but i noticed a bug, the bug  is:
When the folder of the picture change then image will not load.
here is an example of the Temp file where are located all urls

c:\pictures\4watchmen460.jpg
c:\pictures\6tivtg.jpg
c:\pictures\7u7bri10.jpg
c:\pictures\amici\06082008552.jpg

 

The script load all pics in the folder "Pictures" but when is going to load the first image in another folder , for example next folder will be "amici" and the file is 06082008552.jpg then no pictures will be loaded...

Here is my script

Code: vbscript
  1. 'when save with shell cmd at the end of the line there will be a space just make sure to delete the space  and save it the it will load for sure
  2. End Sub

It's me doing something bad or is really a bug??

I'm running windows7 ultimate

edit i did the fix and is in the code above

4,870 views 0 replies