Questions tagged [file-shortcut]

*.lnk shortcuts - small files providing parameters (e.g. command line) for launching an application, icon, etc.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

Why does Photoshop close when I try to open a File via 'Desktop' Shortcut?

I have a variety of Photoshop files I have saved on my Desktop. Whenever I try to open these files within Photoshop, via File > Open > Desktop Shortcut Button (as per below image), the ...
Craig's user avatar
  • 219
1 vote
1 answer
2k views

Create many shortcuts (.lnk) of existing files and add target arguments to all shortcuts

I have a folder with 1000 .bin files in. I would like help with finding a PowerShell command to create set of shortcuts to these files with a static set of command line parameters in the shortcut's '...
Felstaff's user avatar
1 vote
0 answers
463 views

How to make Windows Defender trust certain powershell scripts, so they don't have to be scanned when run?

I read in this question that powershell.exe needs to be added to the list of Windows Defender exclusions to run faster. That seems a little coarse-grained. Is there a way to make sure that only ...
leeand00's user avatar
  • 22.4k
2 votes
1 answer
3k views

How to add application shortcuts to the Windows 10 Links Toolbar?

A few years ago I was somehow able to add application shortcuts (Chrome, Notepad, Windows Explorer, etc) to my Toolbar Links in Windows 10. (Please do not confuse this with the taskbar, which is easy ...
HerrimanCoder's user avatar
1 vote
1 answer
343 views

Can't edit web shortcut Details section (gives access denied on web shortcuts)

I get "File Access Denied" when I try to edit any web shortcut's "Details" section (e.g. Description or Notes values) and try to save my edits. My account is administrator. N.B. this is a problem ...
Omar's user avatar
  • 1,763
0 votes
2 answers
519 views

Is it possible to have a shortcut to newest subfolder?

Everyday I have a new subfolder inside a Windows 10 directory. I need to manually open the folder, and manually find the newest folder to store a file. There are already hundreds of subfolders. I ...
cohoridit's user avatar
0 votes
1 answer
803 views

Disable shortcut target field

I am using AutoIT to create shortcut to desktop and also will forced to launch as kiosk by adding the parameter at the end of the target field. But how can I disable the target field from editing when ...
Jack Wong's user avatar
0 votes
1 answer
1k views

How to open actual folder that is symlinked (with "real" path) on windows 10

I have setup some symlinks on my system using a script. I actually want to use these symlinks like a shortcut so that when I open the symlink in windows explorer it takes me to the real folder, not ...
Roaders's user avatar
  • 297
3 votes
1 answer
3k views

Shortcut or symlink within OneDrive

Is it possible on Microsoft OneDrive 2018 to have either a shortcut or a symlink (e.g. made using mklink) to another folder within the same OneDrive sync? Specifically, is this possible: OneDrive ├╴ ...
villapx's user avatar
  • 163
0 votes
1 answer
704 views

Add environment variable as a startup argument (Windows)

Let's say I have a program called myProgram.exe. I create a shortcut and send it to my desktop. Now I right-click shortcut, and go to properties. I add the argument "-ldir %cd%" to the target. The ...
Joseph Kreifels II's user avatar
7 votes
2 answers
20k views

Create MS Edge-specific URL shortcut

I've created other browser-specific URL shortcuts for various purposes. My current environment requires IE remain the default browser (yup) but some sites don't work with IE, so for those I create ...
music2myear's user avatar
  • 41.7k
0 votes
1 answer
97 views

Create shortcut to Windows 10 Start [duplicate]

How can I create file shortcut (.lnk) to Windows 10 Start? I mean the shortcut which opens that popup window which appears after click to START button on a keyboard.
Jiří Poláček's user avatar
1 vote
3 answers
2k views

Create shortcut to Windows 10 Calendar

How can I create file shortcut (.lnk) to Windows 10 Calendar? I mean the popup window which opens after click to time in right corner of Windows 10 taskbar. (There is time and calendar of actual ...
Jiří Poláček's user avatar
2 votes
1 answer
507 views

Cross-platform shortcut to executable file, both archived

I have a directory (which is later archived) in which a shortcut to an executable file (.exe), which itself is a few directories deeper. The first problem encountered is ".lnk" shortcuts require exact ...
undefined's user avatar
1 vote
1 answer
2k views

Skype for Windows automatic upgrade keeps recreating desktop shortcut icon

I use Skype on Windows 10. Skype frequently automatically installs updated versions of itself. Whenever it does such an update, it recreates a shortcut (icon) for Skype on the desktop. How do I ...
b_jonas's user avatar
  • 221
0 votes
1 answer
3k views

Chrome Drag&Drop URL from address bar to desktop creates a file shortcut but is missing the website icon

Chrome's file shortcuts that it creates is missing the icon from the website. I've used internet explorer and if I drag-and-drop from the address bar to the desktop, it creates a file shortcut with ...
Kelly's user avatar
  • 1
3 votes
1 answer
1k views

How to create Microsoft.StickyNotes.exe shortcut in Windows 10?

All I want to do is create either a shortcut or a copy of Microsoft.StickyNotes.exe so that I can put it in my QuickLaunch. Whenever I try to do this I get this error: This application can only run ...
I_am_Jacks_colon's user avatar
0 votes
0 answers
695 views

Desktop shortcut to open popup in Chrome (or another browser)

I need a desktop shortcut (in the startup folder) to open a popup window (not a new window nor tab). The solution should be preferably in Chrome, but if there is none in Chrome, I would accept the ...
user avatar
2 votes
1 answer
900 views

Open corresponding remote directory with bat file

I need a regular shortcut or a .bat located in C:\abc\00001\ It should link to C:\xyz\00001\ , where the 00001 is treated as a relative expression, in this case "current directory name". The aim is ...
erwi1313's user avatar
1 vote
3 answers
1k views

Open pinned site in Internet Explorer 11

A website that I need to access for work only works in Internet Explorer 11. I can create a shortcut to this website and place it on my desktop or taskbar, but it always opens in Edge, which is my ...
daGUY's user avatar
  • 135
2 votes
2 answers
42k views

Windows 10 - copying lnk file to all users desktop

I have a batch file that performs certain operations and at the end, it copies (using a simple "copy" command) an .lnk file to "%ALLUSERSPROFILE%\Desktop". It used to work just fine, up until Windows ...
FaultyOverflow's user avatar
0 votes
0 answers
47 views

Office 2016 program shortcuts

I have deleted some of Office 2016 shortcuts by mistake. Now I want to have them back, but I'm not able to restore the advertised shortcuts. The only solution has been creating a normal shortcut and ...
jlanza's user avatar
  • 260
7 votes
2 answers
3k views

Shortcut not providing filepath

I'm used to being able to find the path to a referenced exe file for a shortcut by opening the properties dialog on the .lnk file and looking at the Target Location and Target and finding the path. ...
J. Polfer's user avatar
  • 2,342
0 votes
0 answers
549 views

Sorting folder and file shortcuts by "Date Modified" in Windows 7 is broken

How can I get Windows to sort folders when you click on the "Data modified" column header? It is not, when shortcut folders and files are in the list. How can I fix this, or is this a bug in ...
JustBeingHelpful's user avatar
0 votes
0 answers
108 views

Windows 8.1: Windows command prompt (Cmd) shortcut "Start in" not taken into account when run as administrator

I have a shortcut to a Cmd prompt configured like this: Target: %comspec% /k "SET "TMP=F:\workspace" & "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat"" Start in: -...
Scrontch's user avatar
  • 165
0 votes
1 answer
209 views

Why dosent the script hide shortcut to .bat file

***-------------------------- LOGON.INK -> LOGON.BAT: --------------------------*** @echo off title En@rypted Passwords - Login color 0B taskkill /f /IM explorer.exe *attrib +h login.ink* **(...
Mathias's user avatar
4 votes
3 answers
9k views

Make a shortcut to Ubuntu bash.exe on Windows 10 that doesn't auto-close

I would like to make a shortcut on Windows 10 that opens C:\Windows\System32\bash.exe (Ubuntu on Windows 10), runs a command and doesn't close the terminal. I made a shortcut with target to C:\...
Koam's user avatar
  • 41
2 votes
1 answer
3k views

How to create a reliable shortcut to IE and Edge?

I am using shortcuts a lot, because I find them easier to use that the start menu. Shortcuts to "normal" applications work fine, and IE used to work fine on Windows 7, too. But on Windows 10 IE and ...
Thomas Weller's user avatar
2 votes
1 answer
215 views

Windows 7 now modifying shortcut when application moves?

I just discovered that if I have a shorcut (.lnk) to a executable on my PC, and then I move the exe to another folder on the PC, the shortcut will auto-update to reflect the new location. This is ...
Conrad's user avatar
  • 649
2 votes
0 answers
9k views

Getting the full path for user folders windows 10

In Windows 10 when you make shortcuts to folders, like my User folder or Documents, it makes a weird custom shortcut instead. When I click a shortcut made from my user folder from Quick access or ...
Draykoth's user avatar
4 votes
1 answer
302 views

Why is there a GUID added to devenv.exe in the UAC prompt window?

I have a shortcut to Visual Studio 2013 in my taskbar's quick start area. The target exe is named devenv.exe, but when I right-click it and Run as administrator, the UAC prompt that opens has a GUID ...
Felix Dombek's user avatar
  • 2,063
2 votes
1 answer
6k views

Open "chrome://bookmarks/" by Windows command

It's fine to open a http url with Chrome by a Windows command like this: "C:\Program Files (x86)\Google\Chrome\Application>chrome.exe" "http://www.youtube.com" But when I try to open an url of ...
李東翰's user avatar
4 votes
3 answers
4k views

How to set OneNote link-to-page Shortcut to open in a new window (not an existing one)?

I've OneNote link-to-page Shortcut files like these: What I'm looking for is when I open any of these shortcuts, the page will be opened in a new window (not an existing one). OS: Windows 10 | Office:...
Omar's user avatar
  • 1,763
2 votes
0 answers
3k views

How to run a shortcut (.lnk) on startup - Windows 10

I want to run a .lnk file on startup on Windows 10. Methods that DON'T work: Using task scheduler - will only run the linked file (and that didn't work) Copying file to the run "shell:startup" ...
Mike Thrussell's user avatar
1 vote
1 answer
1k views

Possible to create a shortcut to open Notepad++ with a specific tab?

Let's say you have Notepad++ open with a.cpp in tab #1 and b.cpp in tab #2. Let's also say tab #2 is the active tab. Is it possible to create a Windows 7 shortcut to open Notepad++ with a.cpp as the ...
End Anti-Semitic Hate's user avatar
1 vote
1 answer
2k views

Excel hyperlink to a file-shortcut

I have an Excel spreadsheet that contains a hyperlink to a (file-)shortcut to another Excel spreadsheet. The shortcut is meant to easily change the target spreadsheet (roll over new versions for ...
Christa's user avatar
  • 11
2 votes
0 answers
1k views

Is there a way to add new items to the context menu of taskbar icons in Windows 10?

It is possible to add custom items to the context menu of specific file types through the registry, however extending the .lnk files, that I suppose are used in the windows 10 taskbar has no effect on ...
wupp's user avatar
  • 21
1 vote
1 answer
268 views

How do I disable a shortcut file shortcut key that was already removed?

I set the "Shortcut key" in the Properties window of Windows' Snipping Tool to CTRL+SHIFT+4, but I have since installed ShareX and I tried to set the CTRL+SHIFT+4 to ShareX and I removed it from ...
NobleUplift's user avatar
  • 1,585
49 votes
9 answers
114k views

How to open Command Prompt in a specific folder as Administrator?

I made a shortcut to cmd.exe and specified the folder that I want to start in. I then went to Advanced and ticked Run as administrator. When I double-click on the shortcut, it always starts in C:\...
AngryHacker's user avatar
  • 18.6k
1 vote
1 answer
66 views

Replace shortcut path during creation (Windows)

I would like all new shortcut links created using the right-click option in windows explorer to replace the absolute path with a system variable. The motivation is to have synchronized shortcuts work ...
Nick's user avatar
  • 11
1 vote
0 answers
94 views

Centos minumum mouse clicks / keystrokes to create desktop shortcut to folder

In my quest to find the linux equivalents to MSFT transactions I am looking for the minimum effort steps to create a desktop shortcut to a folder. OK, in MSFT Windows file browser : RMB on folder -> ...
Gert Gottschalk's user avatar
1 vote
0 answers
2k views

Windows 10 explorer crashes if shortcut to unreachable network location

This is my scenario: I have a laptop with Windows 10 joined to an Active Directory Domain, with some shortcut and links to directory on some servers. When I'am connected to the Domain network ...
Fabio's user avatar
  • 11
0 votes
1 answer
133 views

Jump Drive Letters in Web Server URL

We have an internal only web server. Let's call it 'blink' 'blink' is running Windows Server 2008 R2 Standard 'blink' has a D: drive with a folder structure of D:/path/to/file.filetype The web ...
randomblink's user avatar
44 votes
10 answers
197k views

Chrome User-specific Desktop Shortcut

How can I create multiple Google Chrome desktop shortcuts, each leading to a different account? (All accounts are signed in).
user avatar
0 votes
1 answer
105 views

How to create a shortcut to Windows Update? [duplicate]

I know how to create a shortcut to the configuration screen of Windows Update with this command: %windir%\System32\rundll32.exe url.dll,FileProtocolHandler wuapp.exe However is there any way to ...
user3201911's user avatar
20 votes
7 answers
30k views

How to pin an executable jar to start in Windows 10?

I tried creating a normal shortcut, and a javaw.exe shortcut, which creates the context menu option "Pin to Start", but that does nothing.
Andreas Hartmann's user avatar
6 votes
4 answers
8k views

Environment variable in .lnk shortcut

I want to make a windows shortcut, which opens javaw.exe at a variable destination. This destination is the content of my system environment variable %MY_OWN_JAVA_HOME%. I tried to do: right click ...
slartidan's user avatar
  • 193
2 votes
1 answer
2k views

[Putty]Enabling keep alives through the target line

Because I am a (really) lazy person and got bored of entering my login credentials everytime I started Putty, I made a shortcut (I use Windows 8.1 on my laptop) to Putty and appended the target line ...
Sjors Hijgenaar's user avatar
0 votes
2 answers
4k views

How do I remove the arrows from shortcut icons in Windows?

I am trying to eliminate the arrows from my shortcuts . and watch the icons without that mark identifing as shortcut. Im using Windows 8.1
Roger Pearson's user avatar
0 votes
1 answer
2k views

How to make a Windows desktop shortcut (with shortcut key) to open a Chrome pop-up window

If you create a desktop shortcut, and set a shortcut key in its properties, you can use that shortcut key in any application. How can you make such a shortcut so it opens a Chrome pop-up window, not ...
Stijn Sanders's user avatar