Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

OpenFileDialog form and link files

$
0
0

hi all,

I'm writing a tool for techs at work and it seems that I've hit a brick wall.

My tool will be used to copy a shortcut on all computers desktop across our network. This will be useful after an application deployment for end-users that do not know how to create a shortcut. Yes, we do have those ;-)

anyhow, I have a OpenFileDialog form and when I select a shortcut to be copied, the dialog returns the path of the shortcut ionstead of the link file itself. I believe I need to use the method DereferenceLinks but I'm not yet able to guess the correct syntax.

can someone please give me a clue on how to use this?

thanks! 


Viewing all articles
Browse latest Browse all 6937

Trending Articles