Thanks Bruce, with further analysis, it seems to work for some paths and fail 
for others.

C:\p1\..\p2\file.ext   =>     C:\p2\file.ext    OK
V:\p1\..\p2    =>     V:\p2   OK
V:\p1\..\p2\file.exe    =>     ""   <<< issue

V: is a mapped network folder:

C:\>net use V:
Local name        V:
Remote name     \\SVR01\s1\apps
Resource type     Disk
Status            OK
# Opens           67
# Connections     1
The command completed successfully.

When I look at the .lnk file that file.createshortcut creates, it includes the 
correct target and description.
But then file.validpath(shortcut)   =>  1
file.resolve(shortcut)   => ""
file.resolve(shortcut,"des")  => ""
(all for shortcut pointing to "V:\p1\..\p2\file.ext")

I made sure I added ".lnk" to the shortcut name.

P.S. And I still see the "can't find file.deletenorecycle service" error 
message 

Reply via email to