I have written a little routine to rename files which are generally scans of documents and I want to rename them to something representing their content.

So I have :

Column 1 = full file path
Column 2 = original file name
Column 3 = new file name which I will enter
Column 4 = hyperlink which I want to open the file for preview but it's just hanging and I lifted the code below off the forums and cant see what is wrong.

Please Login or Register  to view this content.
Where the path starts with D:\ and I hover over the file link in column 4 I see file:///D:\..., is this correct or please help with what I am doing wrong. What I want to do is open this image for preview in Windows to decide how best it should be renamed.

Thanks in advance.