From b7f01a7ffd90733a5b5b11921e4ef4acd3e3b98e Mon Sep 17 00:00:00 2001 From: EstebanMqz Date: Wed, 31 Jul 2024 01:02:47 -0600 Subject: [PATCH] 1.4 PATHs.sh & Env_Vars.sh (progress) --- .bat/{Activator.bat => Regedit.bat} | 0 .bat/external.bat | 6 - .idea/Registries.iml | 8 -- .../inspectionProfiles/profiles_settings.xml | 6 - .idea/modules.xml | 8 -- .idea/vcs.xml | 6 - .idea/workspace.xml | 63 ----------- .sh/{PATHs_verification.sh => Envs_Verif.sh} | 0 README.md | 107 ++++++++++++------ images/Env_Vars.jpg | Bin 0 -> 1976 bytes 10 files changed, 74 insertions(+), 130 deletions(-) rename .bat/{Activator.bat => Regedit.bat} (100%) delete mode 100644 .bat/external.bat delete mode 100644 .idea/Registries.iml delete mode 100644 .idea/inspectionProfiles/profiles_settings.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml rename .sh/{PATHs_verification.sh => Envs_Verif.sh} (100%) create mode 100644 images/Env_Vars.jpg diff --git a/.bat/Activator.bat b/.bat/Regedit.bat similarity index 100% rename from .bat/Activator.bat rename to .bat/Regedit.bat diff --git a/.bat/external.bat b/.bat/external.bat deleted file mode 100644 index 8a1c47f..0000000 --- a/.bat/external.bat +++ /dev/null @@ -1,6 +0,0 @@ -@echo on -rem Backup %SYSTEMDRIVE% in External SSD with hidden subdirs (User's HDD/SSD: C: → D:). - -runas /user:Administrator xcopy C:\*.* D: /E /H /K /C - -rem References: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy \ No newline at end of file diff --git a/.idea/Registries.iml b/.idea/Registries.iml deleted file mode 100644 index d0876a7..0000000 --- a/.idea/Registries.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2d..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 416ea04..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 7e92bee..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - { - "keyToString": { - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "WebServerToolWindowFactoryState": "false", - "nodejs_package_manager_path": "npm", - "settings.editor.selected.configurable": "configurable.group.appearance" - } -} - - - - - 1705349999354 - - - - - - \ No newline at end of file diff --git a/.sh/PATHs_verification.sh b/.sh/Envs_Verif.sh similarity index 100% rename from .sh/PATHs_verification.sh rename to .sh/Envs_Verif.sh diff --git a/README.md b/README.md index d139437..7e41b14 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,15 @@

-Background Context Menu Registries +Context Menu Registries 📂

+
+ + HTML +
-
+
-[![HTML](https://img.shields.io/badge/HTML-100000?style=flat&logo=html5&logoColor=red)](https://htmlpreview.github.io/?https://github.com/EstebanMqz/Registries/blob/main/.html/README.html) -
- -1. UAC (User Account Control)
-+ Admin. Permissions
-+ Secure Desktop UAC
-+ Variables & PATHs
-Folder's Commands
-Inquiries
- -
- - - -Enable [User/System Environment Variables](https://learn.microsoft.com/en-us/windows/win32/procthread/environment-variables) to have -[](https://anaconda.org) +Enable [User/System Environment Variables](https://learn.microsoft.com/en-us/windows/win32/procthread/environment-variables) to have [](https://anaconda.org) [](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cmd) [](https://git-scm.com) [](https://anaconda.org) @@ -28,8 +17,17 @@ Enable [User/System Environment Variables](https://learn.microsoft. [](https://learn.microsoft.com/en-us/powershell/) [](https://www.jetbrains.com/pycharm/) [](https://code.visualstudio.com) -access in [cd](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd) $\forall$ 📂 +access in [cd](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd) ∀ 📂 +
+ +1. UAC (User Account Control)
++ 1.1 Admin. Permissions
++ 1.2 Secure Desktop UAC
++ 1.3 Variables & PATHs
++ 1.4 📂 Commands
++ Inquiries
+
Profile Bashrc

@@ -54,10 +52,10 @@ Administrative Permissions to <$env:USERNAME>: Successful.
-#### 1.2 Left-click [``UAC.bat``](https://github.com/EstebanMqz/Registries/blob/main/.bat/UAC.bat) to enable secure desktop UAC.

+#### 1.2 Left-click [``UAC.bat``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.bat/UAC.bat) to enable secure desktop [UAC](https://learn.microsoft.com/en-us/windows/security/application-security/application-control/user-account-control/settings-and-configuration?tabs=intune).
-Recommended: Secure dimmed desktop highest privileges.
+Recommended: Secure dimmed desktop
UAC options:
@@ -82,21 +80,64 @@ Value ConsentPromptBehaviorAdmin exists, overwrite(Yes/No)? Yes ``` -##### 1.3 Add your Environment Variables & PATHs: - +##### 1.3 Add your Environment Variables & PATHs
``` CMD +rem CMD SystemPropertiesAdvanced ``` +Click & edit Env Vars. manually in `Advanced System Settings`.
+ +
+Env_Vars

+ +
-##### 1.4 Use [``PATHs_verification.sh``](https://github.com/EstebanMqz/Registries/blob/main/.sh/PATHs_verification.sh) &[``System_Environments.sh``](https://github.com/EstebanMqz/Registries/blob/main/.sh/PATH.sh) with your PATHs & directories. +Modify [PATHs.sh](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.sh/PATHs.sh) according to your PATHs & Dirs (e.g): +
``` bash -#PATHs +# Bash +./PATHs.sh + +#Out: +# The PATHs of the programs are: +# C:\Program Files\nodejs\node.exe +# C:\Users\Esteban\.nvm\versions\node\v21.6.1\bin\node.exe +# C:\Program Files\Git\mingw64\bin\gitk +# C:\Program Files\Git\cmd\gitk.exe +# C:\Windows\System32\cmd.exe +# C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe +# C:\Users\Esteban\AppData\Local\JetBrains\Toolbox\scripts\pycharm.cmd +# C:\Program Files\Git\usr\bin\notepad +# C:\Windows\System32\notepad.exe +# C:\Windows\notepad.exe +# C:\Users\Esteban\AppData\Local\Microsoft\WindowsApps\notepad.exe +# C:\Users\Esteban\AppData\Local\Programs\Microsoft VS Code\Code.exe +# C:\Users\Esteban\AppData\Local\Programs\Microsoft VS Code\bin\code +# C:\Users\Esteban\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd + +# Icons PATHs are the following: +# C:\\\\Windows\\\\System32\\\\WindowsPowerShell1.0\\\\powershell.exe +# C:\\\\Windows\\\\System32\\\\WindowsPowerShell1.0\\\\powershell_ise.exe +# C:\\\\Program Files\\\\Git\\\\usiash.exe +# C:\\\\Windows\\\\System3ash.exe +# C:\\\\Usersteban\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsAppash.exe +# C:\\\\Program Files\\\\Git ``` +``` bash +./Envs_Verif.sh +``` + + + +##### 1.4 + + + ``` bash #PATHs where node && where gitk && where cmd && where powershell && where pycharm && where notepad && where code @@ -171,14 +212,14 @@ start regedit ``` Download and Double-click .reg files:
-Modify [regedit](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/windows-registry-advanced-users) - [HKEY_CLASSES_ROOT](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc739822(v=ws.10)) accordingly to [`.reg keys`](https://github.com/EstebanMqz/Registries/tree/main/.reg) in all flles. +Modify [regedit](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/windows-registry-advanced-users) - [HKEY_CLASSES_ROOT](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc739822(v=ws.10)) accordingly to [`.reg keys`](https://github.com/EstebanMqz/Context_Menu-Registries/tree/main/.reg) in all flles.
-
Note:
Ignore modification alerts after backup.
+Note: Ignore modification alerts after backup.
-1. Bash, GUI & gitk [](https://git-scm.com)
+1. Bash, GUI & gitk [](https://git-scm.com)
-Run [``Bash.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/bash.reg) [``Git-Gui.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/bash.reg) [``gitk.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/bash.reg)
+Run [``Bash.reg``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.reg/bash.reg) [``Git-Gui.reg``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.reg/bash.reg) [``gitk.reg``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.reg/bash.reg)
--- @@ -197,27 +238,27 @@ $ps : where "powershell.exe" "powershell_ise.exe" ; echo $ps ``` The parent folder contains the [powershell.exe](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe?view=powershell-5.1#parameters) & [power_ise.exe](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_ise_exe?view=powershell-5.1)
-Run [``PowerShell.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/PowerShell.reg)
+Run [``PowerShell.reg``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.reg/PowerShell.reg)
(modify PATHs accordingly). --- 4.     VSCode   [](https://docs.microsoft.com/en-us/powershell/)
-[``VSCode.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/VSCode.reg) +[``VSCode.reg``](https://github.com/EstebanMqz/Context_Menu-Registriesblob/main/.reg/VSCode.reg)
--- 5.     Pycharm   [](https://www.jetbrains.com/pycharm/)
-[``PyCharm.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/PyCharm.reg) +[``PyCharm.reg``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.reg/PyCharm.reg) --- 6.     Notepad   [](https://icons8.com/icon/82ixf4KHn6za/notepad)
- [``Notepad.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/Notepad.reg) + [``Notepad.reg``](https://github.com/EstebanMqz/Context_Menu-Registries/blob/main/.reg/Notepad.reg)
diff --git a/images/Env_Vars.jpg b/images/Env_Vars.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cc908df1159b342ef2481758dc491bf91d449eee GIT binary patch literal 1976 zcmbW!dpO%!8VB%S?jk`#;@auOrGvOjsbMHBXRwdYs>=pN2|A@( zs+1ZN>e66|ORKDEG$wJYFjc_{t$QjPyZg*O&p!Ld?!M=|f1UT7=lgk%ECKy+j}ei!dEm7aq^z=vs+zja(XVy&^ohqTERS1#bMlm<6Y2CBXV3Fq z-rxE7UZ4a8e}Cz6NN7Z4RCG*i-1R@+O1+(yo{^cCf488JQB+*=@KHtOO zo1Qnfw6=A#dwTo&U%nc6%Nc#g9s7mHpApQ?{rX}41)qUFEW&a&4<^PiX2K$$b51=6+>E}VPfF1DV5LZmTBwCqClmMBux@SgVkweGU z2}QNs!?LE!mylYBJjQl$! z&lcUefD-l=bEcit=g;iSBpPattTef~u$dS5{C@qOw=YF_FZscmiafXr@U3I)m$I(L z)&6vrPLW>jSD#c+ z%HS-866U6ndxLkj{?v;y&al<+3E6{L@Yx}yn9+_`HtP083j*CN)>#q3e0NtWf zo>1l5r6dKro!w5biN7E zfilPV1b%b9zkO8mJ%3Tsvnrlfu|Pp_p##rMSv=pmYoIhq<~i-EZMqSk;#^Xp;=c&Z z-(1p89!dx)-y5>E%kMk*)u`B!CLpw5nBtHu+A6cS=|?zIv9Lmu(1{yE)LV=uqy z%ih6LkeiWo&l0zVLB?xxCws`RuD7l%-hcjaS&rCro!c}^a6|M=9UL(VX!+FCUrL}B zpyq0GNgs+P3ejr0ehfeYJiRhYf6={X!d#7@+Fi^HmoI+e@|d+&bF0Lsd;7K-a^Ptp zJr6XgK@R}O4QJVY^=^F_Qa7Jw;JA|U*`?)Jmi|!XX*$P&ciFOmUwXyKCr0U}j+LO} z^49pSP3*Lfs6H){d`Px4y*_dhJseUS;=QBSlIB1Y+THOLt^^zSiEq zv@9r7VAlxw#wo<{_6RTL*m9G18`-*;R^G~eUvm6qvA9*0m%-P*yX`!OkX1{bW$Eo& zE%N0=e$@9JRRRfs?28KGG=A$qQ()^9-zRd=Ibk#di;&%yM)x-LoiV?MM^E%bF%v8H zLKlonvtrR#Gntj=!V#81wPD@c!hn3a z8HUy24O_&Pk{|~qzAk#!Zk$G|ce`K7`flpzyLAm~uF2yfL%wz^ojghVls1H78#bny zE9g6Ihv+a9Ri>$({oJv!29@Z}{G_b9FNytJ{D9aYxAyaR{1esQ@Oc?=?{RDAJQC;d z4X@}!SfL`hS1Xq6oiRo5RsXthI5Ny2HHa>FpYj01q>D|6@O+^oMFUHF<*=an|Rwj!S^W5l0|N!uuO7 ChI!in literal 0 HcmV?d00001