diff --git a/App.config b/App.config
new file mode 100644
index 0000000..3916e0e
--- /dev/null
+++ b/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Program.cs b/Program.cs
new file mode 100644
index 0000000..3f9b7d5
--- /dev/null
+++ b/Program.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Mime;
+using System.Runtime.CompilerServices;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.Win32;
+
+namespace driveIconPatcher
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine(" _ _ _____ _____ _ _ \r\n" +
+ " | | (_) |_ _| | __ \\ | | | | \r\n" +
+ " __| |_ __ ___ _____ | | ___ ___ _ __ | |__) |_ _| |_ ___| |__ ___ _ __ \r\n" +
+ " / _` | '__| \\ \\ / / _ \\ | | / __/ _ \\| '_ \\| ___/ _` | __/ __| '_ \\ / _ \\ '__|\r\n" +
+ " | (_| | | | |\\ V / __/_| || (_| (_) | | | | | | (_| | || (__| | | | __/ | \r\n" +
+ " \\__,_|_| |_| \\_/ \\___|_____\\___\\___/|_| |_|_| \\__,_|\\__\\___|_| |_|\\___|_| \r\n");
+ Console.WriteLine("----------------------------------------------------------------------------------");
+ Console.WriteLine("Patch your drive icons in a easy way! by jbcarreon123");
+ Console.WriteLine(" Licensed under MIT License. Comes with ABSOLUTELY NO WARRANTY!");
+ Console.WriteLine("");
+
+
+ Console.WriteLine($"Patching {args[0]}...");
+ Console.WriteLine($"Specified icon: {args[1]}");
+ try
+ {
+ var driveicons = Registry.LocalMachine.OpenSubKey("SOFTWARE", true).OpenSubKey("Microsoft", true)
+ .OpenSubKey("Windows", true).OpenSubKey("CurrentVersion", true).OpenSubKey("Explorer", true).OpenSubKey("DriveIcons", true);
+
+ var drive = driveicons.CreateSubKey(args[0].Remove(1));
+ var deficon = drive.CreateSubKey("DefaultIcon");
+
+ deficon.SetValue("", $"\"{args[1]}\"");
+
+ Console.WriteLine($"Successfully patched {args[0]} with {args[1]}!");
+ }
+ catch (Exception e)
+ {
+ Console.Error.WriteLine($"[ERROR] {e}");
+ }
+
+
+ }
+ }
+}
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..bdf9345
--- /dev/null
+++ b/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("driveIconPatcher")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("driveIconPatcher")]
+[assembly: AssemblyCopyright("Copyright © 2023")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("8cf752db-8314-4203-a30d-70987bf8e84f")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/app.manifest b/app.manifest
new file mode 100644
index 0000000..0d1e4a0
--- /dev/null
+++ b/app.manifest
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/driveIconPatcher.csproj b/driveIconPatcher.csproj
new file mode 100644
index 0000000..6c17777
--- /dev/null
+++ b/driveIconPatcher.csproj
@@ -0,0 +1,57 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {8CF752DB-8314-4203-A30D-70987BF8E84F}
+ Exe
+ driveIconPatcher
+ driveIconPatcher
+ v4.8
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+ app.manifest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..ef1ae2b
Binary files /dev/null and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/obj/Debug/driveIconPatcher.csproj.AssemblyReference.cache b/obj/Debug/driveIconPatcher.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..f5e894a
Binary files /dev/null and b/obj/Debug/driveIconPatcher.csproj.AssemblyReference.cache differ
diff --git a/obj/Debug/driveIconPatcher.csproj.CoreCompileInputs.cache b/obj/Debug/driveIconPatcher.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..036c9ce
--- /dev/null
+++ b/obj/Debug/driveIconPatcher.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+2f1b5aa9ca9324e732c8dc8ad98b9a6b4836d80a
diff --git a/obj/Debug/driveIconPatcher.csproj.FileListAbsolute.txt b/obj/Debug/driveIconPatcher.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..03e381c
--- /dev/null
+++ b/obj/Debug/driveIconPatcher.csproj.FileListAbsolute.txt
@@ -0,0 +1,7 @@
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\obj\Debug\driveIconPatcher.csproj.AssemblyReference.cache
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\obj\Debug\driveIconPatcher.csproj.CoreCompileInputs.cache
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\bin\Debug\driveIconPatcher.exe.config
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\bin\Debug\driveIconPatcher.exe
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\bin\Debug\driveIconPatcher.pdb
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\obj\Debug\driveIconPatcher.exe
+D:\Desktop\Visual Studio Projects\customIcons\driveIconPatcher\obj\Debug\driveIconPatcher.pdb
diff --git a/obj/Debug/driveIconPatcher.exe b/obj/Debug/driveIconPatcher.exe
new file mode 100644
index 0000000..95096c4
Binary files /dev/null and b/obj/Debug/driveIconPatcher.exe differ
diff --git a/obj/Debug/driveIconPatcher.pdb b/obj/Debug/driveIconPatcher.pdb
new file mode 100644
index 0000000..a41cfbe
Binary files /dev/null and b/obj/Debug/driveIconPatcher.pdb differ