Catalog-entry with multiple options

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
f00b4r
Posts: 8
Joined: 29 Apr 2020 08:56

Catalog-entry with multiple options

Post by f00b4r »

I tried to search the answer, but obviously I didn't use the right query :)
I want to add a VSC-Bookmark to my catalog that opens a window such as the Getting Started one where the first entry opens directory m:, the second o: and so on.


I tried:

Code: Select all

"VSC-> M:" "C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "m:"
"VSC-> N:" "C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "N:"
...
I also tried this:

Code: Select all

"VSC-> M:" "C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "m:"
But I get dubious syntax...

This works:

Code: Select all

"VSC-> M:" C:\Users\myusername\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe
Last edited by f00b4r on 17 Oct 2024 11:37, edited 1 time in total.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Catalog-entry with multiple options

Post by highend »

Code: Select all

"VSC-> M:"
    run lax("%LOCALAPPDATA%\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "M:");

"VSC-> N:"
    run lax("%LOCALAPPDATA%\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "N:");

One of my scripts helped you out? Please donate via Paypal

f00b4r
Posts: 8
Joined: 29 Apr 2020 08:56

Re: Catalog-entry with multiple options

Post by f00b4r »

YES! Thank you so much! :tup:

Post Reply