Possible to script a way to discover network UNC shortcuts on peoples
desktops. This is because when we move their data from 1 server to another,
there is no way to update their desktop shortcuts. It is okay if shortcuts
are based on network drive but not all are. Had this issue when changing
servers at a customer and released many had UNC paths on desktop. If we could
script to delete (being careful on selections) then they would have to
re-create after new server change.

Shortcut files are .LNK

Re: Script to find network shortcuts on desktops by maximillianx

maximillianx
Tue Jun 13 08:28:51 CDT 2006

Here is a script I put together a couple years back that can update the
shortcuts with the new path...I had a location where we changed the server
name, but left the shares\files intact...

It's sloppy, but it works. This is one of my first scripts that I wrote
when I learned VBScript...

http://www.vbshf.com/vbshf/forum/forums/thread-view.asp?tid=41&posts=4&start=1

Regards,
Rob

"Monkey" <Monkey@discussions.microsoft.com> wrote in message
news:01AEDE88-2858-4267-9965-F3AE9778E1A8@microsoft.com...
> Possible to script a way to discover network UNC shortcuts on peoples
> desktops. This is because when we move their data from 1 server to
> another,
> there is no way to update their desktop shortcuts. It is okay if shortcuts
> are based on network drive but not all are. Had this issue when changing
> servers at a customer and released many had UNC paths on desktop. If we
> could
> script to delete (being careful on selections) then they would have to
> re-create after new server change.
>
> Shortcut files are .LNK



Re: Script to find network shortcuts on desktops by Monkey

Monkey
Tue Jun 13 08:44:03 CDT 2006

Excellant thanks

"maximillianx" wrote:

> Here is a script I put together a couple years back that can update the
> shortcuts with the new path...I had a location where we changed the server
> name, but left the shares\files intact...
>
> It's sloppy, but it works. This is one of my first scripts that I wrote
> when I learned VBScript...
>
> http://www.vbshf.com/vbshf/forum/forums/thread-view.asp?tid=41&posts=4&start=1
>
> Regards,
> Rob
>
> "Monkey" <Monkey@discussions.microsoft.com> wrote in message
> news:01AEDE88-2858-4267-9965-F3AE9778E1A8@microsoft.com...
> > Possible to script a way to discover network UNC shortcuts on peoples
> > desktops. This is because when we move their data from 1 server to
> > another,
> > there is no way to update their desktop shortcuts. It is okay if shortcuts
> > are based on network drive but not all are. Had this issue when changing
> > servers at a customer and released many had UNC paths on desktop. If we
> > could
> > script to delete (being careful on selections) then they would have to
> > re-create after new server change.
> >
> > Shortcut files are .LNK
>
>
>