Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need help in editing .lnk files?

Tags:

shortcut

I have been searching for a solution to a problem and came across a post answered by JasonMArcher and wonder if I could be more specific as to my needs.

We have recently changed to a new server and because of a change in it's name from //sbcmaster to //sbcserver1 I have a huge problem where I have hundreds of .lnk files need to be edited so that the shortcut retrieves the document.

The question is - Is it possible to automate this process?

Appreciation in advance!!

Mark

like image 544
Markolarko Avatar asked Apr 30 '12 15:04

Markolarko


People also ask

How do I change a file from LNK to normal?

lnk files with the apps or files they are supposed to point to. To do this, click one of the error files, then click Fix Shortcut. Choose the correct file, folder, or app, then click Open to select it.

How do I open an LNK file?

If you cannot open your LNK file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a LNK file directly in the browser: Just drag the file onto this browser window and drop it.

What is .LNK file extension?

Files of type . lnk are Windows shortcut files. These are just pointers in Windows that point to your original files. Dropbox can't follow these links, so you'll need to place the original files into your Dropbox folder in order to sync them.

What is the default program for .LNK files?

Default Programs. lnk, also known as a Windows File Shortcut file, was created by Microsoft for the development of Windows 8.1. LNK files fall under under the Shortcut (Windows File Shortcut) file type category. The first version of Default Programs.


1 Answers

If you use run/cmd you can edit the filename (with rename). Then a friendly editor like Notepad++ will open that file. You can see the text, and there will also be a lot of NULLs. You can edit the text. Then you can save the file, and then change the name back with rename. Good luck.

like image 79
Therese Avatar answered Sep 28 '22 04:09

Therese