Microsoft KB Archive/162905

= Cannot Rename File with .lnk Extension =

Article ID: 162905

Article Last Modified on 9/3/2002

-

APPLIES TO


 * Microsoft Windows CE 1.0

-



This article was previously published under Q162905



SYMPTOMS
If you rename a file so that it has an .lnk extension, you cannot remove or change the .lnk extension, and you may not be able to open the file.



CAUSE
When you rename a file's extension to .lnk, the file is associated as a shortcut file. Windows CE does not display the .lnk extension for shortcut files, and you cannot rename an .lnk extension in Windows CE.



RESOLUTION
To rename a file with an .lnk extension, follow these steps:

 Move the file from your Handheld PC (H/PC) to the Windows folder on your desktop computer using H/PC Explorer. Rename the file on your desktop computer using an extension other than .lnk. To do so, type the following lines at a command prompt, pressing ENTER after each line:

cd \windows ren .lnk.

 Move the file back to your H/PC using H/PC Explorer.



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
After you change the file's extension to .lnk, the extension is not displayed even if you disable the Hide File Extensions setting in the Options dialog box in My Handheld PC. If you press ALT and tap the file and then tap Properties, the General tab in the Properties dialog box reports the file type as Shortcut. However, there is no Shortcut tab.

Additional query words: hand held

Keywords: kbui KB162905

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.