Skip to main content
Filter by
Sorted by
Tagged with
4 votes
3 answers
28k views

I am wanting to change the icon for an existing shortcut using Powershell. I played around with it but I couldn't set the changes so I went online and came up empty-handed. I've seen examples with VB ...
Rincewind's user avatar
  • 412
1 vote
1 answer
3k views

To run a new, discrete instance of an application we have been manually creating a shortcut of the application .exe file and then editing the Target property of the shortcut to include a space and ...
XMHell's user avatar
  • 11
2 votes
2 answers
1k views

I would like to write a function to create a windows .lnk file from my lua script. I found a function in the LuaFileSystem library . Is there a way to do this without the library? (The reason: I am ...
Tamaska Janos's user avatar
2 votes
1 answer
5k views

When I typed this command in cmd.exe: E:\mywamp\redis-2.8.19\redis-server.exe --maxheap 512mb it ran successfully. I want to create a windows shortcut to start redis quickly. So I created a ...
yunnysunny's user avatar
0 votes
1 answer
330 views

I wrote an updater for my Java application which downloads its newest jar-file online, replaces the shortcut to it before starting the new jar and finally deleting itself. I used the following code ...
Hering's user avatar
  • 43
3 votes
2 answers
2k views

I have a bunch of folders, each containing a number of shortcut link files to mp3 files existing in completely separate folders. eg: /rock-mp3-shortcuts /jazz-mp3-shortcuts /funk-mp3-shortcuts what ...
Adrian33's user avatar
  • 291
5 votes
1 answer
1k views

I have .lnk files in my git repo. And other users are able to use them after cloning the repo successfully. However, once you have used it (clicked on it for example), it automatically becomes ...
Artemy's user avatar
  • 245
0 votes
1 answer
217 views

I am debugging some C++ software, and want to modify an existing function slightly, so that it changes the value of a particular variable used elsewhere in the program. The function is currently ...
Noble-Surfer's user avatar
  • 3,192
0 votes
0 answers
25 views

http://pastebin.com/Q8Z2deVK Its a PE file. I am getting LNK 1120 and LNK 2019. I googled both errors and it seems that there are a whole bunch of reasons for that error. LNK 1120 occurs in the ...
Moosey's user avatar
  • 1
1 vote
2 answers
2k views

I have multiple versions of a program called Siemens NX. NX uses environmental variables for configuration. I need NX 10.0 to use a different set of environmental variables than my NX 7.5 which uses ...
Jason Nicholson's user avatar
0 votes
1 answer
892 views

I'm having some trouble correctly linking the gstreamer library in qmake. So, I have library I wrote which uses gstreamer, I added this lines to the .pro file: INCLUDEPATH += ../OtherLibs/GStreamer/...
Pedro Leal's user avatar
5 votes
0 answers
4k views

I am trying to retrieve the target path of a Windows .lnk shortcut, but the "Target" is not an actual file path according to the .lnk file's properties: I am using the IWshRuntimeLibrary and the ...
kreddkrikk's user avatar
0 votes
1 answer
78 views

How to determine by .lnk (or its target), whether it points to a metro (Windows 8) application? For instance, the shop link shortcut points to %windir%\WinStore\WinStore.htm. How should I know, that ...
noober's user avatar
  • 4,968
1 vote
1 answer
2k views

I get an error that on line 6, the one with lnk.TargetPath, that the argument is invalid. I am hoping to make a link to this program under the start menu on the desktop. Anybody know why it is doing ...
Eric Lopushansky's user avatar
1 vote
2 answers
1k views

I have a batch file that looks like this: netsh interface dump > net.cfg And I would like to run the actual command from a shortcut, so I tried all of this (in the .lnk shortcut): %windir%\...
Ulrik's user avatar
  • 1,141
0 votes
3 answers
513 views

I tried to make a calculator for midterm and final grades of 5 students. 40% of Midterm and 60% of finals in an array a[5][3]. a[5][3] because 5 students, 3 lines because 1 for midterm another for ...
Dux's user avatar
  • 13
2 votes
1 answer
2k views

I need to create a short cut to internet explorer - iexplore.exe - passing it a URL. This is for an internal product that will only function in IE. Normally I could just specify the "c:\program ...
Roger Pray's user avatar
31 votes
1 answer
56k views

I have been looking for a simple way to create a shortcut to a file in C#, but I've only found external dlls that do that. It's actually quite surprising, there's no built in way to do that.. Anyway, ...
user2599803's user avatar
6 votes
1 answer
900 views

When my MSI package upgrade installation is completed, all shortcuts immediately work as expected, except that the label in the taskbar refers to the binary being executed, rather than giving the ...
Martin v. Löwis's user avatar
0 votes
2 answers
673 views

Note that i am using Windows Forms Applications with the .NET Here is my code: #pragma once #include <cstdlib> #include <Windows.h> #include <string.h> #include <stdlib.h> #...
FreelanceCoder's user avatar
8 votes
1 answer
4k views

I'll explain my goal first to avoid "XY Problem" misunderstandings. I want to be able to produce a file (on Linux) that, when downloaded to a Windows machine and double clicked, will open a (ms office,...
silviot's user avatar
  • 4,788
1 vote
1 answer
376 views

I'd like to get the target information from a shortcut file using my silverlight OOB app, so I'm going to make the following code to work in my silverlight OOB. It seems I have to used P/Invoke to use ...
user689072's user avatar
0 votes
1 answer
2k views

I´m trying to use the Open Point Cloud library for aligning point-clouds. I use Visual Studio 2012 and created a new Visual c++ project. The Directory where all the .libs of PCL are stored is added in ...
Chris Mierke's user avatar
0 votes
2 answers
135 views

Are there any restrictions on creating vectors with custom classes? Recently, my compiler has been sending a 'LNK1120' warning whenever I attempt the statement: vector<Team> teamList; If this ...
Michael Hang's user avatar
4 votes
2 answers
25k views

How can I create a bat or vbs file to create a Windows 7 compatible desktop shortcut? I need the bat or vbs file to create the desktop shortcut using the following target and start-in locations (...
Jay's user avatar
  • 73