
$shortcut.Description = “Our new link” # This is the “Comment” field $shortcut.TargetPath = “C:\path\to\new\exe.exe” # Make changes $shortcut = $shell.CreateShortcut($destination) # Open the lnk Copy-Item $sourcepath $destination # Get the lnk we want to use as a template.You can also edit the properties via PowerShell ( from this previous answer on Stack Overflow): I have not tried any of these, just Googled them.


There are a few of these around including: If you really want to edit it, you need a special tool. lnk file by right-clicking and choosing Properties.
#010 editor m2 template windows
lnk file is for Windows to treat it as a link to another file, so it should be hard to edit! Perhaps it would help if you described why you want to edit it. lnk extension to restore its usual functionality.įollowed by the answer from Julian Knight: When you are done, make sure to rename the file with the original. You will then be able to treat the shortcut just like a regular file. Ren “some shortcut.lnk” “some shortcut.lne” cd /d “X:\Folder\containing\the\shortcut”.lnk file with a different, non-existent extension such as. lnk files just fine, as long as you do not drag and drop them.Īs a workaround, open a command prompt and rename the. SuperUser contributors and31415, Julian Knight, and Vinayak have the answer for us. I've tried a connection string of: Provider=.2.0 Data Source=template.sdf but I received the error: The '.2.0' provider is not registered on the local machine.Is there a way for Jez to actually open.
#010 editor m2 template how to
(Thanks Now I need to figure out how to open and update it from VS2010. UPDATE: I now know that it is a SQL Server Compact version 2.0 database.
#010 editor m2 template password
I'm pretty sure the file isn't password protected or encrypted because I can scroll down in the hex editor and see all the contents of the text fields.ĭoes anyone have any suggestions for opening this file, or even better, processing it with a. If this was a compatible file, run repair. VS2010 SQL Server Compact Edition 4 reports "Incompatible Data Version.

I say I'm not sure because I've tried all sorts of tools to open the file and they all fail. I have a file that I think is a SSCE database, however I'm not sure.
