Cannot Rename File with .lnk Extension

Last reviewed: April 14, 1997
Article ID: Q162905
The information in this article applies to:
  • Microsoft Windows CE version 1.0

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:

  1. Move the file from your Handheld PC (H/PC) to the Windows folder on your desktop computer using H/PC Explorer.

  2. 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 <filename>.lnk <filename>.<new extension>
    

  3. 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 : handheld kbui wince kbui
Version : 1.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.