Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-shortcut]

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

0
votes
0answers
13 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 ...
0
votes
0answers
17 views

Prevent removal of “obsolete” .lnk files

I'm using an encrypted drive on Windows 10 and have some applications on this drive pinned to the task bar. Especially after a Windows update (where the encrypted drive is not mounted yet) these task ...
0
votes
0answers
46 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 ├╴ ...
0
votes
1answer
20 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 ...
2
votes
2answers
87 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 ...
0
votes
0answers
80 views

Create icon shortcut with custom command

MAC_OSX_YOSEMITE_10.10.5_early2015 WINE_3.0.3_stable I have installed Microsoft Office 2007 on my Macbook Air. I did this using Wine via commandline parameters. I've noticed that Wine has it's own ...
0
votes
1answer
62 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.
0
votes
1answer
61 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 ...
1
vote
1answer
117 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 ...
0
votes
1answer
335 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 ...
0
votes
1answer
106 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 ...
0
votes
0answers
13 views

[MS-SHLLINK]: Shell Link (.LNK) and downloaded file

As you all know, there will be a .lnk file created for most of the files you access in %userprofile%\AppData\Roaming\Microsoft\Windows\Recent. Will there be a difference between the .lnk file created ...
3
votes
1answer
182 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 ...
0
votes
0answers
318 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 ...
2
votes
1answer
37 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 ...
1
vote
2answers
195 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 ...
0
votes
0answers
20 views

Transfer shortcuts to new computer

I was wondering if there is any way to transfer a shortcut to an application from one computer to another (by usb) while keeping the path intact. This is assuming the path does not change: (c:\user\...
2
votes
1answer
7k 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 ...
0
votes
0answers
32 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 ...
0
votes
2answers
33 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. ...
0
votes
0answers
282 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 ...
0
votes
0answers
86 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: -...
0
votes
1answer
105 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* **(...
0
votes
0answers
34 views

Windows folder deleted on click of 'Paste Shortcut'

A folder was at my Desktop and wanted to move it another folder. So I Cut the folder but instead of clicking Paste I clicked Paste shortcut. Windows made a shortcut for that folder but the folder ...
2
votes
2answers
949 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:\...
2
votes
1answer
1k 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 ...
2
votes
1answer
90 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 ...
1
vote
0answers
2k 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 ...
4
votes
1answer
198 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 ...
1
vote
1answer
2k 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 ...
2
votes
1answer
784 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 | ...
1
vote
0answers
1k 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" ...
1
vote
1answer
624 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 ...
0
votes
1answer
843 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 ...
1
vote
0answers
517 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 ...
0
votes
1answer
86 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 ...
35
votes
8answers
48k 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:\...
1
vote
1answer
27 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 ...
1
vote
0answers
55 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 -> ...
1
vote
0answers
815 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 ...
0
votes
1answer
64 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 ...
7
votes
1answer
13k 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).
0
votes
1answer
65 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 ...
7
votes
3answers
14k 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.
1
vote
3answers
3k 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 ...
0
votes
1answer
217 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 ...
0
votes
2answers
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
0
votes
1answer
1k 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 ...
4
votes
3answers
19k views

All my pen-drive content appear inside a single shortcut [duplicate]

I have been noticing this problem in a few pen-drives for quite a lot of time, and now this has occurred to mine. When I double click on the pen-drive icon, I find a pen-drive short-cut icon to %...
7
votes
2answers
7k views

How do I prevent desktop shortcuts from being made in Windows?

It is a common practice to have installers place shortcuts by default on the desktop, but most installers allow you to disable this by unchecking the appropriate checkbox. There are also installers (...