Questions tagged [file-shortcut]
*.lnk shortcuts - small files providing parameters (e.g. command line) for launching an application, icon, etc.
113
questions
0
votes
0
answers
34
views
EXE on a network drive - how to create a shortcut on taskbar?
I've created a .bat file that runs the network exe, but it does not allow it to be made a shortcut on the taskbar:
Within my runme.bat file:
cmd /c start w:\programs\app.exe
That does not work.
I've ...
1
vote
1
answer
52
views
How to access PHPMyAdmin from the web on a VPS (IaaS) server environment? [closed]
Ubuntu server 22.10.
If PHPMyAdmin doesn’t have this path /var/www/html/phpmyadmin then how could I access it from https://IP-ADDRESS/phpmyadmin?
I thought about creating a softlink from /usr/share/...
1
vote
0
answers
170
views
Creating directory shortcuts with WSL
I'm trying to create a shortcut to a directory using ln in WSL, so that double-clicking it opens the directory: while it works if the shortcut is created in the same disk, it creates a 0 B file if the ...
0
votes
0
answers
95
views
How do I make a (desktop) shortcut to play a specific folder in the new Windows Media Player?
I have experience with you being able to make a shortcut for VLC where you specify VLC's .exe location, then you add "-LZ" with the folder location after that to start playing media (music) ...
1
vote
1
answer
172
views
Replace linked shortcuts with actual paths to files and folders in Windows
I have a folder:
X:\cases\XYZ and in this folder I have 2 subfolders and a windows shortcut (.lnk) file that points to another share:
Research
Files
3d.lnk ==> Z:\3d\XYZ
I have a user that wants ...
0
votes
0
answers
15
views
How do I open the file location of a shortcut's target? [duplicate]
I have a shortcut to a file. This file is inside of a folder. In Thunar, I have the folder that the shortcut itself is in (i.e. not the folder that the shortcut's target is in). I wish to open the ...
1
vote
3
answers
141
views
File shortcuts don't work or throwing association error in Windows 11
I accidentally broke up my Windows 11 registry regarding shortcuts. To be honest, I also forgot to export a copy of the registry before making changes. Yeah, I know it's dumb, but it happened.
I ...
2
votes
2
answers
64
views
Create a Windows shortcut that behaves like the actual file
I have file A. I need to put it in folder B but I update it from another folder where things are centralized. For obvious reasons, .lnk shortcuts don't behave like symlinks. Is there a way to create a ...
0
votes
0
answers
109
views
No icon showing for shortcuts to Windows Apps
I'm running the latest version of Windows 10, but I have had this problem for a long time now. I have shortcuts to applications in a number of places. Some key examples include on my desktop, on the ...
0
votes
0
answers
10
views
Batch drag and drop, set shortcut target as variable instead of itself(.lnk) [duplicate]
I created a batch script that sets some registry settings for the game executables, drag and drop is used to set those registry settings for the game executable path and name (%~1, %~nx1 ), but if I ...
2
votes
1
answer
131
views
Windows - Is there a way to quickly copy the content of a file (always the same file) to clipboard
I'm working in a limited enterprise environement. I do stuff in ssh through Putty (cannot use any other terminal) and in my linux environment, when I do a vim yank or a tmux yank I added the behaviour ...
0
votes
0
answers
713
views
Drag and drop files onto batch script shortcut in Windows 11
I frequently need to process a bunch of files with a batch script. The way I usually do this is by selecting the files in the explorer and then drag-and-dropping them onto a shortcut to the script (...
1
vote
1
answer
659
views
How do I make a shortcut (.lnk) to run a .exe file in the same folder so that it works when I switch computers (all file paths are different)
I have a folder on my PC. Within that folder, there is a shortcut (.lnk) and an executable file (.exe). When I click on the shortcut, the .exe file should run.
I have managed to achieve this no ...
0
votes
1
answer
149
views
Create shortcut with today's date in the target
I am working with a sequence of files which contain today's date in the title (e.g. contributions_20220909.csv). I want to create a shortcut which allows me to open today's file in read-only mode e.g.
...
0
votes
1
answer
470
views
Create shortcut from a link to a specific paragraph in OneNote document: the URL seems too long for a shortcut
I am using the OneNote version with Office 365 for Windows. OneNote has long allowed users to generate links to specific paragraphs. When these links appear in other OneNote documents or in Word ...
2
votes
2
answers
675
views
Windows shortcut - relative path on removable drive
bascially, there are several threads that ask more or less the same, but none seems to really answer the question for my case.
So, I have a removable drive (usb flash drive), which has one *.bat file ...
2
votes
2
answers
1k
views
How do I add a desktop shortcut in Windows 10?
Some installers don’t bother creating a desktop shortcut. Obviously I can find the application from the Start button.
I should have thought there must be a simple way of creating a desktop shortcut ...
0
votes
2
answers
63
views
shortcut for changing how files are organised in file explorer
configuring some macros inside of Logitech G hub, I'm setting them up for each application. I was going through the shortcuts in file explorer and assigning them to hotkeys, although cant work out if ...
0
votes
1
answer
61
views
HTML file on Windows desktop
I no longer have a Windows machine to work with.
If I make an HTML file containing links a friend wants, and he puts it on his Windows 10 desktop, what I think should happen is the same thing that ...
0
votes
3
answers
1k
views
Internet shortcut (.url) opens print dialog in Windows 10 and not showing an icon
When I drag from browser's (Brave, Chrome, Edge, Firefox) address bar a link to the desktop, it creates a shortcut without an icon, and when opened, it opens up as a Print dialog.
Default action of ....
0
votes
2
answers
208
views
Is there any way to dynamically select a filepath in a windows shortcut?
My company is using a program that is launched through a particular URL through Chrome. As many of my coworkers are not computer literate, I want to make sure I have working shortcuts to make access ...
0
votes
1
answer
878
views
Is it possible to create shortcut to a page in a Word or pdf file?
Looks like one can create a link to open a particular page in a pdf file as described here: https://helpx.adobe.com/acrobat/kb/link-html-pdf-page-acrobat.html. Is it possible to create a shortcut to a ...
1
vote
2
answers
9k
views
Edit a shortcut to run as administrator
I use Visual Studio, which I usually need to have running as Administrator - I've set the startup shortcut to run as admin by default. Every time there's a Visual Studio update, I have to manually
...
5
votes
1
answer
2k
views
How can I add a shortcut of a file to the start menu?
I have an image file (JPG format) in the Document folder of Windows 10. I would like to make a shortcut button in the start menu so that I can access that image very quickly. How can I do this?
In ...
0
votes
1
answer
1k
views
How to reset shortcuts (.lnk file) in windows 11?
I was trying to make PyCharm default for .ipynb files instead of VS code, but I accidentally chose the shortcut of Pycharm and now all my .lnk files are opened by PyCharm. I tried to follow some ...
0
votes
0
answers
73
views
Start >Run> "MS-Settings:(insert name)", Gives me "No apps are installed to open this type of link"
I'm on Windows 8.1 Core
Running for example
ms-settings:defaultapps
Gives me "No apps are installed to open this type of link"
And wants me to choose a program to open with..
Also ...
2
votes
1
answer
794
views
How to create an application shortcut with additional parameters on Mac OS
I'm trying to create an application shortcut on Mac OS (Monterey), which is as similar as possible to a normal app shortcut, but the solution I've come up with isn't really elegant and not very ...
2
votes
1
answer
229
views
Bulk-convert shortcuts to target
(Windows10) Sometimes I need to create a subset of a master photos folder, but I am trying to be cute and save space by creating the SUBSETFOLDER somewhere, then selecting the pictures I want, right-...
0
votes
0
answers
1k
views
Windows Shortcut with Relative File Path
I have created a tool that uses Google Chrome App Mode to work. In order to access it, I have a shortcut to google chrome that opens the specific html page. Currently, I have an absolute path, but I ...
0
votes
1
answer
3k
views
How to universalize a shortcut?
I made a game and I put all my code and executable in the code folder. I created a shortcut to the executable outside the folder so users won't have to dig in the folder to find the exe. Problem is ...
0
votes
1
answer
313
views
How to search for only shortcuts on Google Drive
Google Drive rolled out the new shortcuts which will soon replace the "one file in multiple folder" feature (to be deprecated by September 30).
Now the question is if we create shortcuts of ...
0
votes
1
answer
121
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
0
answers
30
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
1
answer
194
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.
1
vote
3
answers
1k
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
2
answers
2k
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 ...
4
votes
1
answer
6k
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 &...
2
votes
2
answers
1k
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
1
answer
2k
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
2
answers
92
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 noting that the standard Settings shortcut is available, but ...
0
votes
1
answer
64
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
1
answer
1k
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
0
answers
140
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 ...
2
votes
1
answer
2k
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, ...
1
vote
0
answers
660
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
1
answer
203
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
1
answer
24
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%
2
votes
1
answer
6k
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
0
answers
28
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
0
answers
209
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 ...