Share via

Desktop shortcut opens wrong file

Anonymous
2014-01-24T18:25:26+00:00

Hey guys, unusual problem. 

I have two files, we'll call then A and B.

File A is located on a shared network drive and I have a desktop shortcut to it.

File B is an outdated copy of File A. File B is located on my desktop only, not on the shared drive.

Somehow, File A has been lost. I can't explain this, so let's focus on what happened after losing File A.

Without File A to open, File A's desktop shortcut now opens File B.

How? I know you can manually change the path of the shortcut. Is it possible that the shortcut automatically changed somehow, due to File B being a copy of File A? Only one other person accessed the computer besides myself and I find it questionable that she would know how to change the path of a shortcut.

I appreciate any insight.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-03-28T21:58:25+00:00

               

Is it possible that the shortcut automatically changed somehow, due to File B being a copy of File A?

I have found that it will change if File A and File B have the same name. Here's a test case I just ran.

I created a text document, Memo.txt.

I placed one copy of Memo.txt in a folder on drive D:. In this file I typed, "I'm on D:".

I placed another copy of Memo.txt in a folder on encrypted drive N:. In this file I typed, "I'm on N:"

I created a shortcut to the Memo.txt on N: by right-clicking the file and selecting "Create shortcut". I cut and pasted this shortcut to remove it from the folder on N: and place in the folder on D:. Now the shortcut from N: was now in the same folder as the Memo.txt on D.: I looked at the shortcut properties to insure that the target field still contained the path to the folder on N:. It did.

With N: unlocked and therefore accessible. if I double-clicked the shortcut, and it opened the Memo.txt on N:. I know this because the displayed text file said, "I'm on N:". I then locked the encrypted drive N: by rebooting the machine. This made N: not accessible. I double-clicked the same shortcut, and instead of it opening the Memo.txt on N:, it opened the Memo.txt on D:. I know this because the displayed text file said, "I'm on D:". In addition, I again looked at the properties on the shortcut and the target field now contained the path to the folder on D:. That is, it had been changed by Windows.

I have Windows 8.1 Pro. I know that in Windows XP, if a shortcut's target was moved, Windows would make an attempt to find the new location for the target. I suspect this is still being done in Windows 8. And it doesn't have far to look since a file with the same name as the target resides in the same directory as the shortcut. The difference in this case is that instead of the target being moved, it was simply no longer accessible because the drive it was on was no longer accessible.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-03-30T18:21:03+00:00

    Thank you! This response was very helpful. I appreciate how thorough you were and the time you took to figure this out.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-01-24T19:09:17+00:00

    On Fri, 24 Jan 2014 18:25:26 +0000, MB1889 wrote:

    Without File A to open, File A's desktop shortcut now opens File B. 

    How? I know you can manually change the path of the shortcut. Is it possible that the shortcut automatically changed somehow, due to File B being a copy of File A?

    No.

    Was this answer helpful?

    0 comments No comments