简体   繁体   中英

c# What is Windows 10 QuickAccess Path?

I need to programmatically access via a button click, the Quick Access folder on Windows 10.

I haven't figured what is it's phisical location if it has, or it's alias or symlink.

I know that the method to access any desired folder is the use of explorer.exe and use the desired folder as an argument when invoking the method. This is not my issue and is not the point of this question.

The point of this question is to know which is Windows 10 QuickAccess absolutepath, to use it as an argument within the process.Start method to open the QuickAccess location the same way on does by clicking Windows File Explorer.

 Process.Start(@"explorer.exe");

Information from this SO answer .

You can paste below line to 'Run' in Windows 10 and it will open QuickAccess folder

shell:::{679F85CB-0220-4080-B29B-5540CC05AAB6}

Tested on Win 10 - works just fine. I think this string is the closest to QuickAccess absolutepath you've asked for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM