mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
#341, restore This PC folder in explorer
This commit is contained in:
parent
8890db68e6
commit
d1cf04ec3d
1 changed files with 4 additions and 0 deletions
|
@ -4046,6 +4046,10 @@ namespace PersistentWindows.Common
|
|||
|
||||
File.WriteAllText(batFile, "start \"\" /B " + dir);
|
||||
}
|
||||
else if (dir.Equals("This PC"))
|
||||
{
|
||||
File.WriteAllText(batFile, "explorer /n, /select, %SystemDrive%");
|
||||
}
|
||||
else
|
||||
{
|
||||
string home = System.Environment.GetEnvironmentVariable("USERPROFILE");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue