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 @@ - Quick Acess: + 1.1 Grant `$Env:Username` Admin. permissions - +
-

-

Background Context Menu Registries

- -
- -

HTML

- - -

Quick Acess:

-
- -

This repo is meant to enable User/System Environment Variables so that      prompts in cd are displayed in all 📂 Backgrounds:



- -
Profile Bashrc


- -
-

-User Account Control:

- +

+

Context Menu Registries 📂

+

-

1. Grant your <USERNAME> Administrative Permissions.

-

Run Admin.ps1 with Administrative privileges

-
#PS
-cd $PATH
+
+  HTML
+
+
+

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

+ +
+Result:

+Profile Bashrc +

+

+

1. User Account Control (UAC)

+
+
+

1.1 Grant $Env:Username Admin. permissions

+

Run Admin.ps1.

+
#Powershell 
 ./Admin.ps1
 
-Administrative Permissions to <$env:USERNAME>: Successful.
+#Out: 
+Administrative Permissions to <$env:USERNAME>: Successful.
 
-

2. Left-click UAC.bat to enable secure desktop UAC.

+
+
+

1.2 Left-click UAC.bat to enable secure desktop UAC.

-Recommended: Secure dimmed desktop highest privileges.
-
+Recommended: +

Secure dimmed desktop +

+
+
UAC options:
-
+
  • 0: No prompt.
  • 1: Windows settings changes .
  • @@ -3024,113 +3041,138 @@

    2. Left-click

-
Option 2:
- -
Enter the password for Administrator: xxxxx
+
Enter the password for Administrator: xxxxx
 Value ConsentPromptBehaviorAdmin exists, overwrite(Yes/No)? Yes
 
-
-
3. Add your Environment Variables & PATHs with Advanced System Settings
-
REM CMD
+
+
+

1.3 Add your Environment Variables & PATHs

+
+
+
rem CMD
 SystemPropertiesAdvanced
 
-
4. Use PATH.sh and System_Environments.sh your PATHs & directories.
-
where node && where gitk && where cmd && where powershell && where pycharm && where notepad && where code
-
-
-
Recommended:
-

WSL -

-
-Registry RegexCtrl+Shift+F -

reg_query 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 +


-

Background Context & Commands

-

-

Remove TrustedInstaller FullControl on needed Registries, grant it to Administrator manually in Registry Editor

-
- -

CMD-Restore_Point -or CMD-xcopy 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
-
-
+

2. Background Context & Commands

+
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.

-

1. Bash, GUI & gitk

-

Run Bash.reg Git-Gui.reg gitk.reg

+
+

1. Bash, GUI & gitk

+
+

Run Bash.reg Git-Gui.reg gitk.reg


2. Command Prompt  

+

Run CMD.reg


3. PowerShell & GUI

-

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


4.     VSCode  

-

VSCode.reg +

+

Run VSCode.reg


5.     Pycharm  

-

PyCharm.reg

+
+

Run PyCharm.reg


6.     Notepad  

-

Notepad.reg

-


+
+

Run Notepad.reg

+

7.     Node.js  

+
+

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)

+
+
+ +

CMD-Restore_Point +or CMD-xcopy.

+

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 - -
  1. Copy contents according to your environments and directories:

  2. +

    3. Enable User/System Environment Variables & PATHs at Startup

    +
+
+
    +
  1. Open ~/.bashrc & ~/profile and have them modified according to PATHs & directories.
- -
    -
  1. Add at the end of ~/.profile the following command:
  2. -
-
#./profile
-#<'script'>
-
-source ~/.bashrc 
+
+
#Bash: Create/Open ~/.profile && ~/.bashrc in $HOME.
+cd $HOME && code ~/.profile && code ~/.bashrc
 

-
    -
  1. Ensure that Environments Startup PATHs are loaded correctly by running:
  2. +
    +
      +
    1. Copy contents according to your environments and directories and source ~/.bashrc to ~/.profile :
    -
    #Bash
    -
    -./PATH.sh 
    -# Personal Output (according to PATHs): 
    +

    PATH.sh → +.bashrc & .profile

    +
    +
      +
    1. Ensure that Unix-like Environments PATHs are loaded correctly in Startup files:
    2. +
    +
    +
    ./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.

    -
      +
      1. After rebooting check your PATHs & Directories.
      +
      #Bash
       printenv && echo $PATH
       #Directories & PATHs related to executables.
       
      -
        -
      1. Startup .bashrc / .profile in your -```.bat -$HOME$ -``` - directory should enable Registries & Commands in any 📁 Backgrounds pwd:

        - -
        - +
        +
          +
        1. Startup .bashrc / .profile should enable Registries & Commands in 📁 Backgrounds in any pwd : +
        2. +
        -
        Repo Visualization: +Profile Bashrc
        +

        +
        Repo Visualization:
        - - -

        Repository

        Repository

        - - -

        - + + +

@@ -3184,7 +3219,7 @@

- © Copyright 2024 EstebanMqz - Registries (Context Menus & Commands). + © Copyright 2024 EstebanMqz - Context Menu Registries (📂 Background Commands).

@@ -3217,27 +3252,27 @@

WSL enabled OS Directories & Environment-Variables.



-
Business Inquiries:
+
Business Inquiries:

Resume -LinkedIn -Business -Gmail Github -GitLab

- +LinkedIn +Business +Mail + +Github +GitLab

-
-

⚡⚡Availability: 24/7 on WA (business inquiries only)

-
- (password): "Marquez"
+
+
+

⚡ Availability: 24/7 on WA (Business Inquiries only)

-
+
diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 4abc733..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "workbench.colorCustomizations": { - "activityBar.background": "#192C58", - "titleBar.activeBackground": "#223D7B", - "titleBar.activeForeground": "#F9FBFD" - } -} \ No newline at end of file