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
0answers
20 views

Shortcut of a file present in the pc [closed]

I found a shortcut for one of my file present in the drive of my laptop. And the file for which shortcut got created was an compressed password protected file. The shortcut has the browser icon. ...
0
votes
0answers
37 views

Can windows create internet shortcut of a local file on its own?

I found a internet shortcut for one of my file (an encrypted folder which was available on my drive) on my windows 10. And i never had created such internet shortcut. So is there any reason why ...
0
votes
0answers
19 views

how to create a permanent shortcut on a external hard drive

example: I have a folder and the path for it is " H\folder01\subfolder " and I want to create a shortcut in " H\folder02\shaha " but the problem is that the letter is changing on different PC's so ...
1
vote
1answer
98 views

Run console program targeted by a .lnk from another shell (Powershell Core)?

I have a folder of .lnk shortcuts to CLI apps in different folders. The shortcut folder is added to PATH, and my PATHEXT contains the ".lnk" extension. As a result, I can just type ffplay in my shell, ...
0
votes
0answers
22 views

How to create a Windows shortcut that passes the current folder as a parameter

In Windows 7-10, how can you create a shortcut that uses the current folder (directory) as a parameter? For example: Target: example.exe "%CD%" (where %CD% gets automatically replaced by the ...
0
votes
1answer
174 views

Method to enumerate path to Windows 10 system settings screens or folders?

I want to accomplish what this post entails, except personally I'm open to using more than one single input or keystroke to achieve it. I'm aware that some (if not all) of the system windows can be ...
0
votes
1answer
18 views

How to add a variable as custom launch option?

An error occurred when I used a system variable I set like this: "C:\Program Files (x86)\Exampleapp\examplefoleder\Example.exe"%variable%
1
vote
1answer
987 views

How do I make a Windows shortcut run an exe in a PowerShell window?

I've been recently using Blender, but it seems that some errors are only printed to the console. If I manually open PowerShell and run Blender from there, it works fine and I can read the error ...
0
votes
0answers
19 views

How to create shortcut files with user-defined “type”?

Default Behavior Using the default context menu option's to create a new shortcut file via the OEM wizard, the shortcut "type" is automatically and arbitrarily assigned by the system without any ...
0
votes
0answers
298 views

Change Jupyter notebook default working directory

I know that similar questions have been asked before but I have been strolling the web for three hours now, without success in solving my problem, so I'm just gonna go ahead and ask: I want to change ...
2
votes
0answers
87 views

How to Get Folder Shortcuts/Links to Work When Copying Template Folder Contents to New Folder

I have a lot of 'template' folders, the contents which I use to copy into new folders that I create. My problem is getting shortcuts within the copied folders to point back to object the folder that ...
0
votes
0answers
10 views

Windows folder keyboard shortcut assigning issue (win 10)

I assigned a keyboard shortcut to a shortcut folder on desktop (right click shortcut folder > properties > shortcuts tab > Shortcut key) and removed the assigned shortcut. Now the shortcut key field ...
0
votes
0answers
30 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 ...
0
votes
1answer
318 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 '...
1
vote
0answers
76 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 ...
0
votes
1answer
731 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 ...
0
votes
1answer
58 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 ...
0
votes
2answers
88 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 ...
0
votes
1answer
72 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 ...
0
votes
0answers
69 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 ...
1
vote
1answer
1k 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
47 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 ...
4
votes
2answers
4k 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
1answer
68 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.
1
vote
1answer
703 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
204 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 ...
1
vote
1answer
1k 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
958 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 ...
3
votes
1answer
633 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
511 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
106 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
667 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 ...
3
votes
1answer
22k 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
38 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
176 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
437 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
101 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
141 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* **(...
2
votes
3answers
3k 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
2k 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
119 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 ...
2
votes
0answers
5k 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 ...
3
votes
1answer
238 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
3k 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
2answers
1k 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
2k 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
966 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 ...
1
vote
1answer
1k 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 ...
2
votes
0answers
779 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
123 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 ...