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
1answer
24 views

Where a console application properties (like font, location, etc.) are remembered?

I start a console, by typing start cmd, or a PowerShell 7 console by typing start pwsh Then I use left upper menu -> Properties to set font size, layout, etc. Next time the particular console ...
0
votes
0answers
16 views

Trying to stop Command Prompt showing and pythonw doesn't solve it

I have the following command: C:\Users\{USERNAME}\anaconda3\pythonw.exe -m conda run -n base pythonw -m nbopen "%1" ... registered as the behaviour when I double click .ipynb (jupyter ...
0
votes
0answers
17 views

Windows Explorer search bar: How to get it to search pdfs whore shortcuts are in a folder

I have a shortcut (Folder-A / Shortcut-A ) that points to a pdf (Foo.pdf) in Folder-B. Foo.pdf has been indexed and if I search for some keywords within Foo.pdf in Windows Explorer's search bar while ...
0
votes
0answers
40 views

Shortcut/Link Creation Timestamp on Windows 10

Prior to Windows 10 (possibly 8), creating a shortcut to a file would create a shortcut with a modified date matching the time the shortcut was created. However, in Windows 10, it appears the ...
0
votes
0answers
21 views

Shortcut Doctor closes after search

I'm setting up a new computer with content from my previous one and the root folder of my data files is different, meaning that I have thousands of Windows shortcuts that need to be changed. This is a ...
0
votes
0answers
12 views

Website link + ctr -f shortcut

There is a specific paragraph on a webpage that I want to share with my visitors. However it takes a while to scroll down and find the text. Ctr+ f solves that issue. However, you have to do that ...
1
vote
1answer
56 views

Is it possible to open Word internal link to paragraph from shortcut?

Is it possible to open Word internal link to paragraph from shortcut? It was definitely possible before and you can still do it in OneNote, but i can't find a way to do it in Word now.
0
votes
3answers
158 views

Edit shortcuts with invalid paths

I often need to create or edit a shortcut (a .lnk file) for an other computer. Of course the path that is defined in these shortcuts is not always valid for my computer since I don't have the same ...
-1
votes
2answers
456 views

Windows 10 Shortcut Relative Path to Batch File (for Portable App)

Good Morning! Trying to make a portable set of batch files to help with testing another program. I have the batch files I want with their respective relative paths, but now I am trying to make a ...
1
vote
1answer
2k views

Windows 10 shortcuts to games from platforms broken (.url files)

From several platforms (Steam, Epic) I have a few shortcuts on my desktop to start the games. Just yesterday I installed a new game with a new shortcut, which I will take as example. So I installed &...
1
vote
2answers
228 views

Shortcut to Windows Security Protection history

Is there a (text) shortcut to Protection history in Windows Security? The menu is located at Windows Security (or paste %windir%\explorer.exe windowsdefender: into Start menu) > Virus & threat ...
1
vote
1answer
61 views

Powershell doesn't find certain files

I've recently run into an issue where Powershell (and only Powershell) refuses to run certain files. Outside Powershell, such as in explorer or in cmd, everything works fine. But in Powershell (...
0
votes
2answers
24 views

How can I create a shortcut to a specific Settings page?

I use a certain page of Windows 10 Settings quite often, so I'm trying to create a shortcut to place it on Desktop or Taskbar. It is worth nothing that the standard Settings shortcut is available, but ...
0
votes
1answer
43 views

Windows Bash file to prioritize execution of redundant .exe files

I use a password manager for all of my passwords. The preferred .exe is run from an encrypted USB-Drive. I have a backup on my laptop inside a VeraCrypt container, and another hosted on a server. I ...
0
votes
1answer
42 views

How to set shortcut target to current folder

I want to be able to launch a software on the current folder the shortcut is located. By including the folder path at the end of the "Target" property of the shorcut, I already manage to do that. ...
0
votes
0answers
56 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 ...
1
vote
1answer
327 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
182 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 ...
1
vote
1answer
182 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
3k 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
21 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 ...
2
votes
0answers
140 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
31 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
626 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
118 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 ...
2
votes
1answer
2k 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
110 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
151 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
182 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
154 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
2k 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
70 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
7k 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
70 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
2answers
1k 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
281 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
2k 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
978 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
543 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
215 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
860 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
29k 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
39 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
541 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
471 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
103 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
157 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* **(...
3
votes
3answers
5k 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:\...