From e750a4e2a206359d08dc979d554fe987641ae34a Mon Sep 17 00:00:00 2001 From: kougyoku Date: Thu, 28 Apr 2022 10:01:15 -0700 Subject: [PATCH] Change directory of program to C:\Windows\ISD\ --- Program.cs | 4 ++-- README.md | 7 ++++--- RegistryEntries.reg | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Program.cs b/Program.cs index 1cbb7bb..1cf5e8c 100644 --- a/Program.cs +++ b/Program.cs @@ -70,9 +70,9 @@ namespace LocalExplorer private static void WriteOutputFile(string debugLine) { // comment this out to debug the program - //return; + return; - StreamWriter outFile = new StreamWriter(@"C:\LocalExplorer\OUTPUT.txt", true); + StreamWriter outFile = new StreamWriter(@"C:\Windows\ISD\OUTPUT.txt", true); outFile.WriteLine(debugLine); outFile.Close(); } diff --git a/README.md b/README.md index 7398f54..8f44948 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + # LocalExplorer IE 11 has a feature that allows users to click a URL to access file folders in local computer or network drive using Windows Explorer. Modern web browsers such as Edge and Chrome don't allow this to security measures. @@ -9,9 +10,9 @@ The problem with this solution is that the Chrome plug-in can "read and change a So in response, I have created a clone of this software and am also releasing it free of charge, and open source since there is no alternative in the FOSS space. I hope this program provides useful to you. If it does, buy me a beer. ## Installation +Run the below steps as administrator. - 1. Create the directory C:\LocalExplorer - 2. Drop the LocalExplorer.exe file into the above directory. - 3. Run the LocalExplorer.reg file to register the protocol handler. + 1. Drop the LocalExplorer.exe file into the C:\Windows\ISD\ directory so that the full path is `C:\Windows\ISD\LocalExplorer.exe` + 2. Run the LocalExplorer.reg file to register the protocol handler. As always you can verify exactly what the program is doing and what entries are being created in your registry by viewing the source code. diff --git a/RegistryEntries.reg b/RegistryEntries.reg index 847a9e3..e5bee46 100644 --- a/RegistryEntries.reg +++ b/RegistryEntries.reg @@ -3,8 +3,8 @@ Windows Registry Editor Version 5.00 @="URL:LocalExplorer Protocol" "URL Protocol"="LocalExplorer" [HKEY_CLASSES_ROOT\LocalExplorer\DefaultIcon] -@="C:\\LocalExplorer\\LocalExplorer.exe" +@="C:\\Windows\\ISD\\LocalExplorer.exe" [HKEY_CLASSES_ROOT\LocalExplorer\shell] [HKEY_CLASSES_ROOT\LocalExplorer\shell\open] [HKEY_CLASSES_ROOT\LocalExplorer\shell\open\command] -@="C:\\LocalExplorer\\LocalExplorer.exe \"%1\"" \ No newline at end of file +@="C:\\Windows\\ISD\\LocalExplorer.exe \"%1\"" \ No newline at end of file