-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to work with VSCode #76
Comments
|
I believe using This is the best explanation I could find as to why: microsoft/vscode-docs#1504 (comment). Please let me know if that works. |
Being able to start something with Other than that Execution Aliases exist since at least Windows 10. They are a special type of reparse point that allows to invoke store apps even though they are technically very segregated from the ordinary desktop apps. You can access it by Win+i and then searching for "alias" or "execution" or something along those lines for the language of your Windows. WinGet, Windows Terminal, WinDbg (Preview) and other store apps (including those using the desktop bridge) usually register Execution Aliases. Here's how that looks:
I took the liberty to install VSCode using:
(ordinarily I use VSCodium as it's not phoning home) ... and the search for
I knew VSCodium employs a batch script named So no, @github-account1111, it is not in your @github-account1111 please copy&paste the following into a text file and give it the
This uses one of the mechanisms above to make The PS: IIRC there are even more mechanisms for detouring the name of a program, such as |
@mtimkovich It should, if the way |
Try:
|
This makes perfect sense, because using the I don't think the recommendation by @mtimkovich is going to change that. Apologies, btw, my above method doesn't appear to work even with the Edit 1: changing the PS: registry files prepared for HKCU and HKLM: vscode-apppaths.zip |
Thanks! This works. Quite unintuitive on M$' side but at least I don't have to hardcode the path. |
@mtimkovich could you explain the reasoning of how you came up with this. I understand that I'm flabbergasted. |
uh I actually came up with this the "wrong" way. I was thinking that pipe-rename can take inputs from stdin for the files, so that's what was trying with It ended up working out though because VS Code uses the file as input for stdin if that's what's passed in and it also doesn't exit immediately like it normally would. |
The text was updated successfully, but these errors were encountered: