Linked Questions

37 votes
2 answers
37k views

In my PowerShell script, I create a shortcut to a .exe (using something similar to the answer from this question): $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut(...
Michelle's user avatar
  • 703
4 votes
5 answers
6k views

I would like to create a Windows Shortcut (.lnk) to the desktop and the startmenu in Golang. I actually got the Desktop & Startmenu folders via the gowin module and I would like to create a ...
Alexis Paques's user avatar
5 votes
3 answers
14k views

I'm writing my first powershell script and I'm having a little trouble. Up to this point my system creates a directory tree and populates it with files. The final step is to put a shortcut on my ...
mreff555's user avatar
  • 1,152
4 votes
1 answer
9k views

I want to create a powershell script that creates a shortcut in the windows 7 taskbar, that runs a batch file from cmd.exe. Trying to do as told in these two posts: https://superuser.com/questions/...
Janne Beate Bakeng's user avatar
0 votes
1 answer
7k views

i was inquiring if there are options to create a url shortcut to be placed on c:\users\username\favorites to be applied to be added to the login script of the user on Active directory to create the ...
MoustafaBorhan's user avatar
1 vote
1 answer
3k views

Is there a way to use PowerShell to manage Explorer's shortcut? For example, remove 7346 then add a link to ~/Projects/9999?
craig's user avatar
  • 26.3k
1 vote
2 answers
3k views

I have a PowerShell script that moves all files from one location to another that have a date modified older than 3 years. I have it so the file when moved to the new location also keeps the file ...
Android Magic's user avatar
1 vote
2 answers
2k views

I am trying to change the "Start In" property of a program via batch file for an install script that I am writing for windows 10. I have not been able to find any info about where or how to do this. I'...
George Mistkawi's user avatar
1 vote
1 answer
1k views

Hi I want to create several shortcuts at same time using powershel and something like this Get-ChildItem -Path D:\something\ -Include *.exe -File -Recurse -ErrorAction SilentlyContinue get the ...
Paola Analice's user avatar
0 votes
1 answer
943 views

I just tried to create a small Python script that first installs a certain package (PyMOL), based on the Python version installed on the system and then creates a shortcut to that program on the user'...
n00by0815's user avatar
  • 324
0 votes
1 answer
1k views

My shortcuts often get broken because I move stuff around and unfortunately, the Windows link tracker can't keep up. Is there a way to programmatically (with Powershell) read and edit the properties ...
Roman's user avatar
  • 551
0 votes
1 answer
295 views

I have a file named new.txt. Using GUI I can create a shortcut, for example, "new.lnk". When I click on "new.lnk" file, Notepad is opened with the contents of "new.txt" file. When I create the ...
mboada's user avatar
  • 48
-1 votes
1 answer
275 views

I'm new to sccm, psexec, and vb scripting. I need help copying a Internet Explorer shortcut from a server to multiple computers. Lets say my link is named Shortcut.lnk and is located on \troyserver\...
Troy Kerns's user avatar
0 votes
1 answer
143 views

I am using the following code to install cygwin using powershell. http://www.jbmurphy.com/2011/06/16/powershell-script-to-install-cygwin/ It successfully installs but the only problem is there is no ...
user1907849's user avatar
  • 1,000