A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

Shortcut broken after moving file



 
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old May 30th 09, 02:27 PM posted to microsoft.public.windows.vista.file_management
Richard Urban
external usenet poster
 
Posts: 5,520
Default Shortcut broken after moving file

If you have a map to someone's home, and the people subsequently move, is
the map any good? Neither is the shortcut.

Create a new one!

--

Richard Urban
Microsoft MVP
Windows Desktop Experience


"makhya" wrote in message
...

hey I got the same error message,. can any body help to fix this
problem?


--
makhya
------------------------------------------------------------------------
makhya's Profile: http://forums.techarena.in/members/102091.htm
View this thread:
http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in


  #12 (permalink)  
Old October 6th 09, 01:00 PM posted to microsoft.public.windows.vista.file_management
Rich Snow
external usenet poster
 
Posts: 1
Default Shortcut broken after moving file


Well, that's just not helpful. This is why I try to teach my users not
to use shortcuts. They are unreliable. Any time you move the
underlying hardware or network resources they are broken. And we need
to move stuff all the time, like today when Windows Storage Server is
mysteriously crashing.

I find that the shortcut becomes a crutch. The user never learns where
the files really reside - because their co-worker can be called upon to
fix their shortcuts. Don't get me started on hiding filename
extensions!

Really, the O/S paradigm must be rethought around network computing,
because there are no personal computers anymore. On a Windows domain,
there should be a service that registers shortcuts.

Richard Urban;4438400 Wrote:
If you have a map to someone's home, and the people subsequently move,
is
the map any good? Neither is the shortcut.

Create a new one!

--

Richard Urban
Microsoft MVP
Windows Desktop Experience


[/color]


--
Rich Snow
------------------------------------------------------------------------
Rich Snow's Profile: http://forums.techarena.in/members/141273.htm
View this thread: http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in

  #13 (permalink)  
Old October 6th 09, 03:06 PM posted to microsoft.public.windows.vista.file_management
Badger[_3_]
external usenet poster
 
Posts: 180
Default Shortcut broken after moving file

You have to remember that a shortcut is actually a pointer to where the
program file is.
If you change the location of the file, you need to reinstall the pointer to
the new location.


"Rich Snow" wrote in message
...

Well, that's just not helpful. This is why I try to teach my users not
to use shortcuts. They are unreliable. Any time you move the
underlying hardware or network resources they are broken. And we need
to move stuff all the time, like today when Windows Storage Server is
mysteriously crashing.

I find that the shortcut becomes a crutch. The user never learns where
the files really reside - because their co-worker can be called upon to
fix their shortcuts. Don't get me started on hiding filename
extensions!

Really, the O/S paradigm must be rethought around network computing,
because there are no personal computers anymore. On a Windows domain,
there should be a service that registers shortcuts.

Richard Urban;4438400 Wrote:
If you have a map to someone's home, and the people subsequently move,
is
the map any good? Neither is the shortcut.

Create a new one!

--

Richard Urban
Microsoft MVP
Windows Desktop Experience





--
Rich Snow
------------------------------------------------------------------------
Rich Snow's Profile: http://forums.techarena.in/members/141273.htm
View this thread:
http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in
[/color]
  #14 (permalink)  
Old October 6th 09, 04:41 PM posted to microsoft.public.windows.vista.file_management
R. C. White
external usenet poster
 
Posts: 1,871
Default Shortcut broken after moving file

Hi, Rich.

because there are no personal computers anymore.


I'll stay out of the rest of your rant, but this line is patently false!

I've been using personal computers since the first TRS-80 in 1977. I've
always had ONE computer at a time - and I still do. I built my current rig
in 2006 for the new Vista RTM. I've never had a network at all - unless you
count the Internet. This personal computer is in our third bedroom, which
is my office, even though I'm long retired.

Yes, there still ARE some personal computers. Quite a few, I'm sure.

But your IT department probably doesn't realize that. Or care. :(

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"Rich Snow" wrote in message
...

Well, that's just not helpful. This is why I try to teach my users not
to use shortcuts. They are unreliable. Any time you move the
underlying hardware or network resources they are broken. And we need
to move stuff all the time, like today when Windows Storage Server is
mysteriously crashing.

I find that the shortcut becomes a crutch. The user never learns where
the files really reside - because their co-worker can be called upon to
fix their shortcuts. Don't get me started on hiding filename
extensions!

Really, the O/S paradigm must be rethought around network computing,
because there are no personal computers anymore. On a Windows domain,
there should be a service that registers shortcuts.

Richard Urban;4438400 Wrote:
If you have a map to someone's home, and the people subsequently move,
is
the map any good? Neither is the shortcut.

Create a new one!

--

Richard Urban
Microsoft MVP
Windows Desktop Experience





--
Rich Snow
[/color]

  #15 (permalink)  
Old October 6th 09, 04:41 PM posted to microsoft.public.windows.vista.file_management
R. C. White
external usenet poster
 
Posts: 1,871
Default Shortcut broken after moving file

Hi, Rich.

because there are no personal computers anymore.


I'll stay out of the rest of your rant, but this line is patently false!

I've been using personal computers since the first TRS-80 in 1977. I've
always had ONE computer at a time - and I still do. I built my current rig
in 2006 for the new Vista RTM. I've never had a network at all - unless you
count the Internet. This personal computer is in our third bedroom, which
is my office, even though I'm long retired.

Yes, there still ARE some personal computers. Quite a few, I'm sure.

But your IT department probably doesn't realize that. Or care. :(

RC
--
R. C. White, CPA
San Marcos, TX

Microsoft Windows MVP
Windows Live Mail 2009 (14.0.8089.0726) in Win7 Ultimate x64

"Rich Snow" wrote in message
...

Well, that's just not helpful. This is why I try to teach my users not
to use shortcuts. They are unreliable. Any time you move the
underlying hardware or network resources they are broken. And we need
to move stuff all the time, like today when Windows Storage Server is
mysteriously crashing.

I find that the shortcut becomes a crutch. The user never learns where
the files really reside - because their co-worker can be called upon to
fix their shortcuts. Don't get me started on hiding filename
extensions!

Really, the O/S paradigm must be rethought around network computing,
because there are no personal computers anymore. On a Windows domain,
there should be a service that registers shortcuts.

Richard Urban;4438400 Wrote:
If you have a map to someone's home, and the people subsequently move,
is
the map any good? Neither is the shortcut.

Create a new one!

--

Richard Urban
Microsoft MVP
Windows Desktop Experience





--
Rich Snow
[/color]

  #16 (permalink)  
Old October 6th 09, 04:54 PM posted to microsoft.public.windows.vista.file_management
Rich Snow[_2_]
external usenet poster
 
Posts: 1
Default Shortcut broken after moving file


Yes, I understand how it works. For a windows admin, it should be
possible to change all of the user shortcuts in one place. It isn't,
because they are in the file system. The nearest equivalent is using
links to Sharepoint documents and establishing a redirect, or using DFS
under which the actual windows share is abstracted from the network
share that is published. Under a unix system I could just easily fix
the symbolic links with a script, but its harder to do in Windows.


--
Rich Snow
------------------------------------------------------------------------
Rich Snow's Profile: http://forums.techarena.in/members/141273.htm
View this thread: http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in

  #17 (permalink)  
Old October 6th 09, 05:04 PM posted to microsoft.public.windows.vista.file_management
Peter Foldes
external usenet poster
 
Posts: 3,259
Default Shortcut broken after moving file


Rich

You need to create a new shortcut to point to the relocated location of the file

--
Peter

Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.

"Rich Snow" wrote in message
...

Well, that's just not helpful. This is why I try to teach my users not
to use shortcuts. They are unreliable. Any time you move the
underlying hardware or network resources they are broken. And we need
to move stuff all the time, like today when Windows Storage Server is
mysteriously crashing.

I find that the shortcut becomes a crutch. The user never learns where
the files really reside - because their co-worker can be called upon to
fix their shortcuts. Don't get me started on hiding filename
extensions!

Really, the O/S paradigm must be rethought around network computing,
because there are no personal computers anymore. On a Windows domain,
there should be a service that registers shortcuts.

Richard Urban;4438400 Wrote:
If you have a map to someone's home, and the people subsequently move,
is
the map any good? Neither is the shortcut.

Create a new one!

--

Richard Urban
Microsoft MVP
Windows Desktop Experience





--
Rich Snow
------------------------------------------------------------------------
Rich Snow's Profile: http://forums.techarena.in/members/141273.htm
View this thread: http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in
[/color]

  #18 (permalink)  
Old October 6th 09, 05:21 PM posted to microsoft.public.windows.vista.file_management
Rich Snow[_3_]
external usenet poster
 
Posts: 1
Default Shortcut broken after moving file


Sure I could do that. But how do you do that for 500 shortcuts at a
time?


--
Rich Snow
------------------------------------------------------------------------
Rich Snow's Profile: http://forums.techarena.in/members/141273.htm
View this thread: http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in

  #19 (permalink)  
Old October 7th 09, 12:43 AM posted to microsoft.public.windows.vista.file_management
Guest
 
Posts: n/a
Default Shortcut broken after moving file


This service is the one I think tracks.
--------------------------------------------------------------------------------

Distributed Link Tracking Client
Maintains links between NTFS files within a computer or across computers in
a network.
--------------------------------------------------------------------------------

From the Resolve method on shell links (Platform SDK)

--------------------------------------------------------------------------------
IShellLink::Resolve Method


Attempts to find the target of a Shell link, even if it has been moved or
renamed.

Syntax

HRESULT Resolve( HWND hwnd,
DWORD fFlags
);
Parameters

hwnd
Handle to the window that the Shell will use as the parent for a dialog box.
The Shell displays the dialog box if it needs to prompt the user for more
information while resolving a Shell link.
fFlags
Action flags. This parameter can be a combination of the following values.
SLR_INVOKE_MSI
Call the Microsoft Windows Installer.
SLR_NOLINKINFO
Disable distributed link tracking. By default, distributed link tracking
tracks removable media across multiple devices based on the volume name. It
also uses the Universal Naming Convention (UNC) path to track remote file
systems whose drive letter has changed. Setting SLR_NOLINKINFO disables both
types of tracking.
SLR_NO_UI
Do not display a dialog box if the link cannot be resolved. When SLR_NO_UI
is set, the high-order word of fFlags can be set to a time-out value that
specifies the maximum amount of time to be spent resolving the link. The
function returns if the link cannot be resolved within the time-out
duration. If the high-order word is set to zero, the time-out duration will
be set to the default value of 3,000 milliseconds (3 seconds). To specify a
value, set the high word of fFlags to the desired time-out duration, in
milliseconds.
SLR_NOUPDATE
Do not update the link information.
SLR_NOSEARCH
Do not execute the search heuristics.
SLR_NOTRACK
Do not use distributed link tracking.
SLR_UPDATE
If the link object has changed, update its path and list of identifiers. If
SLR_UPDATE is set, you do not need to call IPersistFile::IsDirty to
determine whether or not the link object has changed.
Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Following link creation, the name or location of the target may change. The
IShellLink::Resolve method first retrieves the path associated with the
link. If the object is no longer there or has been renamed, Resolve will
attempt to find it. If successful, and the following conditions are met, the
file that the link object was loaded from will be updated to reflect the new
state of the link object.


The SLR_UPDATE flag is set.
The target has been moved or renamed, updating the internal state of the
Shell link object to refer to the new target.
The Shell link object was loaded from a file through IPersistFile.

The client can also call the IPersistFile::IsDirty method to determine
whether the link object has changed and the file needs to be updated.

Resolve has two approaches to finding target objects. The first is the
distributed link tracking service. If the service is available, it can find
an object that was on an NTFS version 5.0 volume and was moved to another
location on that volume. It can also find an object that was moved to
another NTFS version 5.0 volume, including volumes on other computers. To
suppress the use of this service, set the SLR_NOTRACK flag.

If distributed link tracking is not available or fails to find the link
object, Resolve attempts to find it with search heuristics. It first looks
in the object's last known directory for an object with a different name but
the same attributes and file creation time. Next, it recursively searches
subdirectories in the vicinity of the object's last known directory. It
looks for an object with the same name or creation time. Finally, Resolve
looks for a matching object on the desktop and other local volumes. To
suppress the use of the search heuristics, set the SLR_NOSEARCH flag.

If both approaches fail, the system will display a dialog box prompting the
user for a location. To suppress the dialog box, set the SLR_NO_UI flag.


--------------------------------------------------------------------------------


--
..
--
"Rich Snow" wrote in message
...

Sure I could do that. But how do you do that for 500 shortcuts at a
time?


--
Rich Snow
------------------------------------------------------------------------
Rich Snow's Profile: http://forums.techarena.in/members/141273.htm
View this thread:
http://forums.techarena.in/vista-fil...nt/1016597.htm

http://forums.techarena.in


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.