Last active
February 28, 2023 09:27
-
-
Save wincmd64/03fb9290512f201ea9b3907449fbf9e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; добавляет в меню файлов и папок пункт "Emsisoft Scanner" | |
; https://t.me/wincmd64 | |
; Использование: | |
; | |
; 1. Скачать и распаковать: | |
; https://www.emsisoft.com/en/commandline-scanner/ | |
; x64 -- https://dl.emsisoft.com/EmsisoftCommandlineScanner64.exe | |
; x32 -- https://dl.emsisoft.com/EmsisoftCommandlineScanner32.exe | |
; | |
; 2. Добавить распакованную директорию в PATH | |
; | |
; 3. Создать elevatea2cmd.vbs с таким содержанием: | |
; CreateObject("Shell.Application").ShellExecute "cmd.exe", "/c a2cmd.exe " & Chr(34) & Wscript.Arguments.Item(0) & Chr(34) & " /pup /cloud=0 & pause", "", "runas", 1 | |
; | |
; 4. Указать правильный путь к elevatea2cmd.vbs ниже (2 раза) и запустить этот reg-файл | |
[HKEY_CLASSES_ROOT\*\shell\Emsisoft Scanner] | |
"Icon"="a2cmd.exe" | |
"Position"="Bottom" | |
[HKEY_CLASSES_ROOT\*\shell\Emsisoft Scanner\command] | |
@="WScript.exe \"X:\\path to\\elevatea2cmd.vbs\" \"%1\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\Emsisoft Scanner] | |
"Position"="Bottom" | |
"Icon"="a2cmd.exe" | |
[HKEY_CLASSES_ROOT\Directory\shell\Emsisoft Scanner\command] | |
@="WScript.exe \"X:\\path to\\elevatea2cmd.vbs\" \"%1\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment