C
C#2y ago
Norvik

❔ get all WINDOWS SAVED APP SHORTCUTS with code

I'm trying to make a C# app and I want to extract all the shortcuts that are recognised by windows (the ones that are shown when written in the search bar)
5 Replies
Buddy
Buddy2y ago
all shortcuts has an extension of *.lnk
Doombox
Doombox2y ago
the windows search service does a lot more than just find shortcuts, so when you type stuff into that search service you get a lot more than that back, you could ultimately filter them by shortcuts only but yeah if you want to use the windows search service you need to work with the windows API
Norvik
Norvik2y ago
Alright. I will check it out. Thanks I looked something up earlier but the results were off-topic
Doombox
Doombox2y ago
https://stackoverflow.com/questions/34338465/how-to-use-windows-search-service-in-c-sharp might be a decent place to start, never used the API personally so YMMV
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.