Rename file AND extention

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Hi,

When I attempt to rename a shortcut, Windows Explorer will not present the
extension "lnk" for review. Instead, it just presents the file name. How
can I rename the the extension?
 
Bob said:
Hi,

When I attempt to rename a shortcut, Windows Explorer will not present
the extension "lnk" for review. Instead, it just presents the file
name. How can I rename the the extension?

Set your computer to show file extensions from Folder Options>View tab.


Malke
 
Bob,
Open a command prompt (cmd)
navigate to the folder that contains the file in question.
use the rename command

rename test.lnk test.txt

for instance

Michael
Vista Home premium
 
I do show file extensions. Vista however hides "lnk" extensions and
therefore I can't rename them.
 
Bob said:
I do show file extensions. Vista however hides "lnk" extensions and
therefore I can't rename them.

What about right-clicking on the shortcut and chosing Properties. Can
you rename from there?


Malke
 
Hello Bob,

Thanks for your post and also thanks to everyone for sharing your ideas. :

The .lnk extension is attached to a shortcut by default. As a special file
type, its extension (.lnk) cannot be changed in Windows Explorer.

Michael is correct, we can simply change it by using the "Rename" command
in Command Prompt. The command example Michael provide (rename test.lnk
test.txt) is correct.

If you need more information regarding the rename command, you can run
"rename /?" and it should return:

C:\WINDOWS\system32>rename /?
Renames a file or files.

RENAME [drive:][path]filename1 filename2.
REN [drive:][path]filename1 filename2.

Note that you cannot specify a new drive or path for your destination file.

Please check if it meets your requirements. Thanks.

Sincerely,
George Yin
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Okay thanks all,

Just another one of those Vista things I guess.

Fortunately, I have a third party file manager called ZTree that has no
problem dealing with these, or any other Vista file. (A lot easier than
going through the command prompt).

Thanks!
 
Hello Bob,

Thank you for sharing your experience back here and I am happy to hear that
the issue has been resolved.

I look forward to working with you again.

Sincerely,
George Yin
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top