250 questions
-1
votes
2
answers
187
views
Automatically Converting Windows Shortcuts to Linux Links using Bash
Mid-switch to Linux I realized I've a large personal and work archive that has over 1100 Windows Shortcuts(.lnk) of both files and folders and it is unusable without them and have been trying to ...
1
vote
1
answer
152
views
How do I write a script to copy an item to the public desktop?
I am trying to write a script to push through datto to copy a shortcut to each endpoint's public desktop. UAC is getting in my way, and I'm trying to find a way around it.
So far I have tried this ...
1
vote
0
answers
98
views
Finding the target of a shortcut file that supports unicode characters and long paths in Powershell [duplicate]
There's a really nice post that outlines how to get the shortcut target of a .lnk shortcut file that unfortunately doesn't work for neither Unicode characters nor long paths. Testing the accepted ...
1
vote
1
answer
78
views
Python - Having trouble dynamically creating buttons with images
I'm extremely new to Python (a couple of weeks into my self learning journey) and I've hit a wall.
The Goal:
To have a script that will read the files in the folder the script was run from, ...
1
vote
1
answer
165
views
PowerShell, search for specific URL parts in .url files
Building on the code from this answer, I tried this to find all .url files which include http://kfhntwvap347, but I also tried http://kfhntwvap347:8080/consense/ in $urlParts knowing that there is ...
0
votes
1
answer
88
views
Invalid syntax error passing argument to reg.exe in .LNK (same command succeeds in CMD, PS, and as a .BAT) [closed]
I am trying to create a shortcut to add create a registry key named after an arbitrary file. The idea is to put this shortcut in the shell:Sendto menu, so the filename is passed to the command as an ...
1
vote
1
answer
4k
views
Can I run a minimised program from task scheduler?
I have a sync program which runs various Git commands to update a repository. So far I have written a functioning .sh script and scheduled it to run periodically from startup.
Currently, I will be ...
0
votes
1
answer
953
views
Wix Toolset v4 Shortcut & installation directory per login user
Using WiX Toolset v4 & Heatwave plugin from Visual Studio, I just try to add shortcut to current user Desktop but have a hard time doing it. My install directory is Id="ProgramFilesFolder&...
0
votes
1
answer
155
views
How to spec a shortcut using VS Setup Project to open a Command Prompt at the Application Folder
I have created a Console project (called BasList) in VS Community 2022 and added a Setup Project to the solution.
I want end users to be able to click BasList in the Program Menu, or a shortcut on the ...
0
votes
1
answer
131
views
Visual Studio Setup Project shortcut has missing functionality compared to manually creating shortcut
I am working on making a very simple console app for tech-illiterate people to simply drag their files onto it, and it does the rest for them. When I made the program and tested this with the exe ...
1
vote
1
answer
2k
views
Set Windows shortcut arguments path relative
My goal is to create a portable PDF that will execute with the portable navigator I include in the package. The problem is that the navigator's shortcut changes and sets itself relative path correctly,...
-1
votes
1
answer
84
views
Run all shortcut in the mother path of VBScript [duplicate]
I want to have a executable VBS that run all windows shortcut in the current folder of my VBS.
My shortcuts are both Excel and PDF.
I've made this code, but i have an error on "WshShell.Run ...
2
votes
0
answers
574
views
JupyterLab - Folder Shortcuts
Hey does anyone know if there is a handy way to create folder shortcuts, or quickly navigate between folders in JupyterLab? Unfortunately my files are spread over a SharePoint site and im trying to ...
0
votes
2
answers
1k
views
Make a PowerShell script silent when called from a shortcut
The following shortcut is created in SendTo and calls a PowerShell script. I want this script to be invisible (-WindowStyle Hidden) as the script uses Add-Type -AssemblyName System.Windows.Forms; $...
0
votes
0
answers
175
views
Creating a Java desktop shortcut does not work
I have a Java program which runs just fine. Now I want to create a desktop shortcut. I don't create it in the Desktop folder, but that isn't a problem; I can create it in any folder.
I'm doing it ...
0
votes
0
answers
656
views
React router create shortcut on home screen
I have a react-based web app with router and URL parameters structure.
I want to create a shortcut of one of the page of website (webapp) on home screen my android
For example i want to shortcut ...
0
votes
1
answer
1k
views
How to create auto-executing script for Chrome console
The idea is that when I open a certain site in Chrome using a desktop shortcut, I want a certain script to be automatically executed via the console. It is desirable that it starts executing when the ...
2
votes
1
answer
569
views
Pipe into executable through .lnk file
I have an executable at C:\Very\Long\Path\StreamToClipboard.exe
The file C:\InPath\StreamToClipboard.lnk points to that executable.
The directory C:\InPath is in my PATH variable, and .lnk is in my ...
1
vote
2
answers
594
views
Create desktop shortcut to exe with argument with Inno Setup
I'm trying to create an installer for a Python script with Inno Setup.
My goal is to have a single installer.
With Inno Setup, I packed my Python script, an embedded version of Python, and an icon.
...
2
votes
1
answer
4k
views
Change icon for file from PowerShell
I am trying to create the URL file with a custom icon but, for some reason, it is not working.
This is my code:
#Downloading ico file
$WebClient = New-Object System.Net.WebClient
$WebClient....
0
votes
1
answer
422
views
PowerShell script to create website shortcuts from text file
I'm trying to create a PowerShell script to create website shortcuts on the desktop from a text file located on the desktop. Text text file has the URL and website names.
0
votes
1
answer
199
views
How to get current file path if launched from a shortcut in python?
I'm running python 3.9 on Windows 10.
I want to know if my script was launched from a shortcut file,
and if it is this I want to know how to get the current full path of that shortcut
Thank you in ...
0
votes
0
answers
292
views
How to create a desktop-shortcut with a START command?
I have a special situation where I must create a desktop shortcut that can run a special "START" command that I have tested on command line.
But the syntax that starts with "Start ...&...
3
votes
1
answer
204
views
Allow users choose hotkeys for icon/shortcut in Inno Setup
I'm looking to allow users, who run an installer made trough Inno Setup, to choose whether to use hot keys or not, and if yes, allow them to choose which hot keys use.
[Icons]
Name: "{...
-2
votes
1
answer
155
views
I deleted a shortcut on my dekstop and the same shortcut/files got deleted on other user dekstop (windows 10)
so the problem is just like what on the title. This has never been a problem before, i could delete what's on my dekstop and it just delete the file on my dekstop. But today as the title says i ...