Skip to content

Commit e477bc3

Browse files
committed
Update
1 parent db5d22e commit e477bc3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+194
-168
lines changed

7-Zip/README.md

+10-15

7-Zip/compress.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
22

3-
rem Send To Compress (7-Zip) Explorer action.
3+
rem Send To Compress (7-Zip) Explorer action
44

55
7z a -t7z -mx9 "%~dpnx1".7z -- %*

Explorer/terminal_add.bat

-7
This file was deleted.

Explorer/terminal_remove.bat

-3
This file was deleted.

Explorer/text_editor_add.bat

-6
This file was deleted.

GIF/README.md

+4-9

JPEG/README.md

+4-9

LICENSE.md

+14-14

PNG/README.md

+4-9

PowerShell/README.md

-19
This file was deleted.

PowerShell/remove_packages_provisioned.ps1

-4
This file was deleted.

README.md

+8-9

Registry/README.md

+8-9
804 Bytes
Binary file not shown.

Registry/disable_explorer_f1_key.reg

2 Bytes
Binary file not shown.
488 Bytes
Binary file not shown.

Registry/disable_shortcut_to.reg

12 Bytes
Binary file not shown.
456 Bytes
Binary file not shown.

Registry/title_bar_colors_unset.reg

-14 Bytes
Binary file not shown.

Registry/win11_clean_taskbar.reg

-6 Bytes
Binary file not shown.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
3+
:: Remove certain location from Windows Defender scan
4+
5+
set EXCL_PATH=%~dp0
6+
set EXCL_PATH=%EXCL_PATH:~0,-1%
7+
powershell.exe -InputFormat none -OutputFormat none -NonInteractive -Command Add-MpPreference -ExclusionPath "%EXCL_PATH%"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
3+
:: Undo Windows Defender scan exception
4+
5+
set EXCL_PATH=%~dp0
6+
set EXCL_PATH=%EXCL_PATH:~0,-1%
7+
powershell.exe -Command Remove-MpPreference -ExclusionPath "%EXCL_PATH%"

Scripts/Explorer/terminal_add.bat

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
3+
:: Open the current Explorer directory in terminal
4+
5+
reg add "HKCU\Software\Classes\Directory\Background\shell\term" /ve /t REG_SZ /d "Open terminal here" /f
6+
reg add "HKCU\Software\Classes\Directory\Background\shell\term\command" /ve /t REG_SZ /d "\"%ComSpec%\" ""%%v""" /f
7+
pause

Scripts/Explorer/terminal_remove.bat

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
reg delete "HKCU\Software\Classes\Directory\Background\shell\term" /f

Scripts/Explorer/text_editor_add.bat

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
3+
:: Open the chosen file in text editor.
4+
:: (Using Sublime Text as an example.)
5+
6+
reg add "HKCU\Software\Classes\*\shell\Open with Sublime Text\command" /ve /d "\"%USERPROFILE%\Applications\Sublime Text\sublime_text.exe\" ""%%1""" /f
7+
pause

Scripts/README.md

+14
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# Find out what programs have been recently blocked by Windows Firewall.
1+
# Find out what programs have been recently blocked by Windows Firewall
2+
23
Get-EventLog security -newest 10 -InstanceId 5157 -Message *Destination* | Select @{Name="message";Expression={$_.ReplacementStrings[1]}}
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
@echo off
2-
cd /d "%~dp0"
3-
setlocal enabledelayedexpansion
42

5-
:: Remove new Chromium-based Microsoft Edge browser.
3+
:: Remove new Chromium-based Microsoft Edge browser
64

5+
setlocal enabledelayedexpansion
76
set q="
87
for /f "delims=" %%o in ('powershell.exe -command "(Get-Item !q!${Env:ProgramFiles(x86)}\\Microsoft\\Edge\\Application\\msedge.exe!q!).VersionInfo.ProductVersion"') do set ver=%%o
98
"%ProgramFiles(x86)%\Microsoft\Edge\Application\%ver%\Installer\setup" --uninstall --force-uninstall --system-level
9+
endlocal
1010

1111
pause
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# Remove all `Appx` packages except Windows Store.
1+
# Remove all appx packages except Windows Store
2+
23
Get-AppxPackage | where-object {$_.name –notlike '*store*'} | Remove-AppxPackage
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
# Remove all `Appx` packages except Windows Store
2-
# (for all user accounts).
1+
# Remove all appx packages except Windows Store
2+
# (for all user accounts)
3+
34
Get-AppxPackage -AllUsers | where-object {$_.name –notlike '*store*'} | Remove-AppxPackage -AllUsers
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Remove all appx packages except Windows Store.
2+
# This removes installation packages that could be used
3+
# to reinstall "modern" (junk) apps (e.g. when creating a new Windows user account).
4+
5+
Get-AppxProvisionedPackage –online | where-object {$_.packagename –notlike '*store*'} | Remove-AppxProvisionedPackage -online

Scripts/reset_nic.bat

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@echo off
2+
3+
:: Reset malfunctioning network interface driver
4+
5+
set NIC=%1
6+
if "%NIC%" == "" (
7+
set NIC=Ethernet
8+
)
9+
10+
:: Delay after disable and before re-enable
11+
set DELAY_DISABLE=3
12+
:: Delay after enable and before message closes
13+
set DELAY_ENABLE=5
14+
15+
echo Disabling network interface "%NIC%"...
16+
netsh interface set interface "%NIC%" disable
17+
timeout /t %DELAY_DISABLE% >nul
18+
19+
echo Enabling network interface "%NIC%"...
20+
netsh interface set interface "%NIC%" enable
21+
timeout /t %DELAY_ENABLE% >nul

Scripts/show_hidden_devices.bat

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@echo off
2+
3+
:: To view the non-Plug and Play devices, from the view menu
4+
:: you have to select "Show hidden devices". But to show all
5+
:: non-present devices, you will have to do the following:
6+
7+
set DEVMGR_SHOW_NONPRESENT_DEVICES=1
8+
start devmgmt.msc
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
22

3-
:: Clear VirtualBox recently used ISO list.
3+
:: Clear VirtualBox recently used ISO list
44

55
"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" setextradata global "GUI/RecentListCD"

WebP/README.md

+4-9

WinRAR/README.md

+10-15

WinRAR/compress.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22

3-
rem Send To Compress (RAR) Explorer action.
3+
rem Send To Compress (RAR) Explorer action
44

55
set NAME=-ep1 "%~dpnx1.rar"
66
if $%2==$ goto COMPRESS

WinRAR/install.bat

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@echo off
22
cd /d "%~dp0"
33

4-
mkdir "%APPDATA%\WinRAR"
5-
copy /y rar.ini "%APPDATA%\WinRAR"
4+
if not exist "%APPDATA%\WinRAR\rar.ini" (
5+
mkdir "%APPDATA%\WinRAR"
6+
copy /y rar.ini "%APPDATA%\WinRAR"
7+
)

browse.bat

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@echo off
2+
3+
:: Open Explorer from the command line
4+
:: with the specified folder
5+
6+
if "%1"=="" (
7+
explorer.exe "%CD%"
8+
exit /b
9+
)
10+
11+
explorer.exe %1

0 commit comments

Comments
 (0)