diff --git a/.html/README.html b/.html/README.html index 830c17b..0a71911 100644 --- a/.html/README.html +++ b/.html/README.html @@ -2,7 +2,7 @@
-Background Context Menu Registries
- - - - -This repo is meant to enable User/System Environment Variables so that prompts in cd are displayed in all 📂 Backgrounds:
Context Menu Registries 📂
+<USERNAME>
Administrative Permissions.Run Admin.ps1
with Administrative privileges
#PS
-cd $PATH
+
+
+
Enable User/System Environment Variables to have + + + + + + + +access in cd ∀ 📂
+ 1. UAC (User Account Control)
2. 📂 Background Commands
3. 📂 Enable User/System Environment Variables & PATHs at Startup
~/.bashrc
& ~/profile
~/.bashrc
& ~/profile
$Env:Username
Admin. permissionsRun Admin.ps1
.
#Powershell
./Admin.ps1
-Administrative Permissions to <$env:USERNAME>: Successful.
+#Out:
+Administrative Permissions to <$env:USERNAME>: Successful.
-UAC.bat
to enable secure desktop UAC. UAC.bat
to enable secure desktop UAC. Enter the password for Administrator: xxxxx
+Enter the password for Administrator: xxxxx
Value ConsentPromptBehaviorAdmin exists, overwrite(Yes/No)? Yes
-
-Advanced System Settings
REM CMD
+
rem CMD
SystemPropertiesAdvanced
-PATH.sh
and System_Environments.sh
your PATHs & directories.where node && where gitk && where cmd && where powershell && where pycharm && where notepad && where code
-
-WSL -
-searches in the registry, use the following CMD command:
-:: CMD Registry Regex
-reg query HKEY_CLASSES_ROOT /f "<regex_search>" /s /e
+
Click & edit in Advanced System Settings
the button:
Once opened, modify PATHs.sh file according to your PATHs & Dirs (e.g):
+
# 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
+
+WSL +
Remove TrustedInstaller FullControl on needed Registries, grant it to Administrator manually in Registry Editor
-or with external.bat
Backup HDD: to external SSD:
-./external.bat #(Assuming your HDD:C & external-SSD:D. Change .bat if not.)
-cd D: & label D: SSD_ext #Rename D to SSD_ext
-
-Rem CMD
start regedit
+Remove TrustedInstaller FullControl on needed Registries, grant it to Administrator manually in
+
Download and Double-click .reg files:
-Modify regedit - HKEY_CLASSES_ROOT accordingly to reg keys
.
+Modify regedit - HKEY_CLASSES_ROOT accordingly to .reg keys
in all flles.
Note: Ignore modification alerts after backup.
- -Run Bash.reg
Git-Gui.reg
gitk.reg
Run Bash.reg
Git-Gui.reg
gitk.reg
Run CMD.reg
Get Icon's registry (double-back-slashed).exe PATH:
-#PowerShell terminal
-Write-Output(([System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName)).replace('\', '\\')
+
+$PS = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName; Start-Process explorer.exe (Split-Path $PS); $PS = ($PS + '').Replace('\', '\\'); Set-Clipboard -Value $PS; Write-Output $PS
-The folder contains the powershell.exe & power_ise.exe
-Run PowerShell.reg
(modify PATHs accordingly).
+Get Icon's PATHs (double-back-slashed).exe and modify PATHs accordingly.
+Run PowerShell.reg
-VSCode.reg
+
+Run VSCode.reg
-
+
+Run PyCharm.reg
-
-
+
+Run Notepad.reg
+
+
+Run Node.reg
+Note: To activate all .reg files at once, use the activator Regedit.bat (having Admin given full permissions in HKEY_CLASSES_ROOT)
+
+
+Recommended
+
+Backup SSD
+Match your Drives according to external.bat
or modify it.
+cd F: && label F: D #Rename F to D
+./external.bat
+
+Note: Ignore modification alerts after backup.
+
-
- Enable User/System Environment Variables & PATHs at Startup
-To be able to use the previously enabled .reg files you will need to do the following:
-
-
-
-
-#Bash: Create/Open ~/.profile && ~/.bashrc from $HOME dir, & Input your Environment Variables.
-cd $HOME && code ~/.profile && code ~/.bashrc
-As they are in [`.bashrc`] & ['.profile
-
-- Copy contents according to your environments and directories:
+ 3. Enable User/System Environment Variables & PATHs at Startup
+
+
+
-
--
-
-
--
-
PATH.sh
→
-
-
-
-
-
-- Add at the end of
~/.profile
the following command:
-
-#./profile
-#<'script'>
-
-source ~/.bashrc
+
+#Bash: Create/Open ~/.profile && ~/.bashrc in $HOME.
+cd $HOME && code ~/.profile && code ~/.bashrc
-
-- Ensure that Environments Startup PATHs are loaded correctly by running:
+
+
+- Copy contents according to your environments and directories and source ~/.bashrc to ~/.profile :
-#Bash
-
-./PATH.sh
-# Personal Output (according to PATHs):
+PATH.sh
→
+ &
+
+
+- Ensure that Unix-like Environments PATHs are loaded correctly in Startup files:
+
+
+./Envs_Verif.sh
# Directory /C/Program Files (x86)/NVIDIA Corporation/PhysX/Common exists.
# Directory /C/Windows/system32 exists.
# Directory /C/Program Files/MATLAB/R2021a/bin exists.
@@ -3139,42 +3181,35 @@ # Directory /C/php-8.2.9 exists.
# Directory /C/ProgramData/ComposerSetup/bin exists.
# Directory /C/Program Files/Git/cmd exists.
-# Directory /C/ProgramData/Anaconda3/Scripts exists.
-# Directory /C/Users/Esteban/AppData/Local/Programs/Python/Python311/Scripts exists.
+# Directory /C/Users/Esteban/AppData/Local/Programs/Python/Python311/Scripts does not exist.
# Directory /C/Users/Esteban/AppData/Local/Programs/Microsoft VS Code/bin exists.
# Directory /C/Windows/System32/WindowsPowerShell/v1.0 exists.
# Directory /C/Windows/System32/Wbem exists.
# Directory /C/Windows/System32/OpenSSH exists.
-
+
- After rebooting check your PATHs & Directories.
+
#Bash
printenv && echo $PATH
#Directories & PATHs related to executables.
-
-
+
+
+
WSL enabled OS Directories & Environment-Variables.
⚡⚡Availability: 24/7 on WA (business inquiries only)
⚡ Availability: 24/7 on WA (Business Inquiries only)