Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

I'm making a Java app that scans the Windows Recent Files folder and resolves .lnk shorcuts to their actual file paths. I'm doing so using JNA the JNA API and simulating IShellLinkW and IPersistFile. ...
Syed Maroof Hussain's user avatar
0 votes
1 answer
257 views

I'm trying to find out how to get the real path from .lnk files. I took this approach because the original files are in different locations and the routes have no pattern in its names. So I grouped a ...
Gonzalo S's user avatar
1 vote
2 answers
180 views

I want to create a shortcut file to a PDF document with arguments, so that when I double click it on Explorer, it will open the pdf file in my default PDF viewer at the page specified. I can create ...
Ralf_Reddings's user avatar
1 vote
1 answer
4k views

I have a sync program which runs various Git commands to update a repository. So far I have written a functioning .sh script and scheduled it to run periodically from startup. Currently, I will be ...
SKLR's user avatar
  • 33
0 votes
0 answers
56 views

Build error LNK2019 happens when building project with 1 cpp file namespace foo { __declspec(dllimport) void Print(); } void main() { foo::Print(); } foo is defined. header (in other folder):...
mmd's user avatar
  • 1
0 votes
0 answers
26 views

I have a shortcut at C:\Users\Public\Desktop\Shortcut.lnk. The current target is: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" https://localhost:443/WebApp My goal is to ...
Christopher Cass's user avatar
0 votes
0 answers
696 views

I'm trying to create a shortcut (.lnk) file that will launch scrcpy without showing the console window, but I need to be able to pin it to the taskbar and have the window and shortcut merge. Scrcpy is ...
readf0x's user avatar
  • 165
2 votes
1 answer
1k views

I am fairly new to Python and have been trying to make a program that will open the "Minecraft launcher" for me. Context However, the new launcher .exe file is blocked as it is located in ...
Calax's user avatar
  • 91
0 votes
0 answers
37 views

I'm new to C++ CLR development. I'm trying to develop a GUI app but when i include vector/regex/curlpp i get an error while compiling LNK 2005. Anyone have any idea how to get around this problem. I'm ...
Ahlyab's user avatar
  • 1
0 votes
1 answer
2k views

If I have a file named "C\Test\mypic.jpg", can I create a shortcut with path "C\Test2\mypic.jpg"? Windows always seems to add a ".lnk" suffix, which is unwanted in my ...
user avatar
1 vote
3 answers
4k views

I'm trying to create a script that will create shortcuts of the target batch files and set the icon to a .ico or .dll icon file: @echo off @echo Writing CreateShortcut script @echo Set oWS = WScript....
Judess 69er's user avatar
0 votes
1 answer
192 views

I need to open lnk file with arguments via Python. On the command line it looks like this: FlashProgrammer -target=arm image.elf -device=xxxx -vdd=3V3 -erase=mass -program - secure And it works. But ...
unknow_user's user avatar
1 vote
0 answers
273 views

I'm trying to get the exe path from the Windows 10 Office .lnk file. e.g. Link Path - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word 2016.lnk Exe Path - C:\Program Files\Microsoft Office\...
Sandwich's user avatar
  • 356
0 votes
0 answers
48 views

I accidentally uploaded a windows pointer instead of the actual folder- how do I delete it? Here's my problem- I can't rm this folder. It's an issue because I can't upload the real folder because it ...
user3573562's user avatar
0 votes
1 answer
2k views

lnk1114 Cannot overwrite the original file "xxx.lib", error code 32. it happened in vs2017. Microsoft does not have this in its error codes. actually i put "xxx.lib" in the output folder like "debug....
xxc's user avatar
  • 1
0 votes
1 answer
609 views

I have created a batch-file to execute a couple of .lnk files. example: start C:\Users\Blaxie\Desktop\vrchatter\PlayspaceMover.lnk When executed it says that the path cannot be found; but I have ...
Blaxie's user avatar
  • 11
5 votes
0 answers
2k views

The size of shortcut (.lnk) files on my computer (Windows 7) ranges from 235 to 15,881 bytes, with an average of 2,395 bytes. In Microsoft's documentation of the shortcut file format, it contains an ...
NewSites's user avatar
  • 1,849
2 votes
0 answers
539 views

We have a strange issue when mapping a SharePoint 2013 WebDAV location to Windows 10 Network Locations. We map these locations with a VB script: dim SecurityGroup(1) dim OneDriveName, OneDrivePath '...
user avatar
2 votes
0 answers
1k views

I am using VS2015 C++ Project. Initially I had a LNK2038 issue which was error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '1' in imagecolor.obj so I added ...
Kazu's user avatar
  • 21
0 votes
1 answer
46 views

So I'm in the final stages of a project I've been working on. I went ahead and created an ICO file for my shortcut but now I'm not sure how to preserve the ICO file as the background. When I ...
Carl's user avatar
  • 487
0 votes
1 answer
1k views

I would like to extract some info from a .lnk file in Java, specifically the entire target (with command line parameters after the initial .exe) and the working directory as well. In the question ...
fen's user avatar
  • 73
1 vote
1 answer
241 views

I have a batch script that creates a vbs that creates a shortcut (complicated I know), however the problem is that it launches the program where the shortcut is located. Any way to make it start in C:\...
Mark Deven's user avatar
2 votes
0 answers
307 views

I am trying to create a shortcut link to pointing some target file. I am able to put static target path but the problem is when I move the target file to some other place it's unable to open the ...
Siva kumar's user avatar
1 vote
2 answers
4k views

I am writing a PowerShell script to search the C:\Users directory and change all lnk files that contain \server1 to \server2 but keep the rest of the link. What I have so far will keep changing the ...
Tom Dickson's user avatar
2 votes
1 answer
891 views

I'm trying to get the icon out of a .lnk file without the .lnk overlay appearing. The documentation has information about a flag SHGFI_ADDOVERLAYS which can be set to add an overlay, but I am looking ...
xandermonkey's user avatar
  • 4,507