From 2b7008051e2235644902b7ba892869a41b46b849 Mon Sep 17 00:00:00 2001 From: Benedikt Lang Date: Fri, 24 Oct 2014 22:49:55 +0200 Subject: [PATCH] Add shell extension --- README.md | 4 ++++ installShellExt.bat | 2 ++ uninstallShellExt.bat | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 installShellExt.bat create mode 100644 uninstallShellExt.bat diff --git a/README.md b/README.md index fc5e435..67b7a56 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ e12pack automates the process of packaging multiple folders to pbos and moving t $ e12pack.exe -pack="C:\Users\blang\mymod" ``` +Or better install the shell extension by executing `installShellExt.bat` as Administrator. +After that, right-click on the `mymod` folder and choose `E12Pack` to execute the command above. + + The directory structure looks like this: ``` diff --git a/installShellExt.bat b/installShellExt.bat new file mode 100644 index 0000000..2cc4a72 --- /dev/null +++ b/installShellExt.bat @@ -0,0 +1,2 @@ +REG ADD HKEY_CLASSES_ROOT\Folder\shell\E12Pack\command /t REG_SZ /d "\"%~dp0e12pack.exe\" -pack=\"%%1\"" +pause \ No newline at end of file diff --git a/uninstallShellExt.bat b/uninstallShellExt.bat new file mode 100644 index 0000000..d2d854f --- /dev/null +++ b/uninstallShellExt.bat @@ -0,0 +1,2 @@ +REG DELETE HKEY_CLASSES_ROOT\Folder\shell\E12Pack +pause \ No newline at end of file