Вопрос по shortcut, c# – Как открыть папки «Мои документы» и «Мой компьютер» из C #?

3

Error: User Rate Limit ExceededMy Computer а такжеMy Documents.

Process.Start("iexplore.exe", "::{20d04fe0-3aea-1069-a2d8-08002b30309d}");
Process.Start("iexplore.exe", "::{450d8fba-ad25-11d0-98a8-0800361b1103}");

Error: User Rate Limit ExceededMy Computer а такжеMy Documents.

Error: User Rate Limit Exceeded Oliver Friedrich
Error: User Rate Limit Exceeded arbiter
Error: User Rate Limit Exceeded Suriyan Suresh
Error: User Rate Limit Exceeded Doctor Jones

Ваш Ответ

9   ответов
5

explorer

Process.Start("::{20d04fe0-3aea-1069-a2d8-08002b30309d}");...

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded
Error: User Rate Limit Exceededdocs.microsoft.com/en-gb/windows/desktop/shell/knownfolderid
-2

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

System.Diagnostics.Process.Start(directoryPath);

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded
1
System.Diagnostics.Process.Start("...");

Error: User Rate Limit ExceededMy Documents.

9

Error: User Rate Limit Exceeded

Process.Start("explorer.exe", "::{20d04fe0-3aea-1069-a2d8-08002b30309d}");
Process.Start("explorer.exe", "::{450d8fba-ad25-11d0-98a8-0800361b1103}");

?

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded Suriyan Suresh
0

Error: User Rate Limit Exceeded

Process.Start("::{450d8fba-ad25-11d0-98a8-0800361b1103}");

Error: User Rate Limit Exceeded

6

Error: User Rate Limit Exceeded

Process.Start("explorer.exe", "::{20d04fe0-3aea-1069-a2d8-08002b30309d}");
Process.Start("explorer.exe", "::{450d8fba-ad25-11d0-98a8-0800361b1103}");
0

System.Diagnostics.Process.Start("...");

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

2

Error: User Rate Limit Exceeded

string myComputerPath = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
System.Diagnostics.Process.Start("explorer", myComputerPath);

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Process.Start("explorer.exe", "::{20d04fe0-3aea-1069-a2d8-08002b30309d}");
37

Error: User Rate Limit Exceeded

Error: User Rate Limit ExceededError: User Rate Limit ExceededError: User Rate Limit ExceededError: User Rate Limit ExceededError: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

//get the folder paths
string myComputerPath = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
string myDocumentsPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
//open explorer and point it at the paths
System.Diagnostics.Process.Start("explorer", myComputerPath);
System.Diagnostics.Process.Start("explorer", myDocumentsPath);

Important note for Windows 7 users

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

(Thanks to JeremyK in the comments for pointing this out)

Error: User Rate Limit Exceeded Suriyan Suresh
Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded
Error: User Rate Limit Exceededconnect.microsoft.com/VisualStudio/feedback/details/757291/…Error: User Rate Limit Exceeded
Error: User Rate Limit ExceededGetFolderPathError: User Rate Limit Exceeded

Похожие вопросы