Share your favorite handy BAT file


GeneralLee01

Well-known member
Member
VIP
Local time
9:48 PM
Posts
216
OS
Windows 11 Home 64-bit
Over the years I have stolen / copied / downloaded /tweaked / written several very handy but very simple BAT files. Here are my favotites . . . .

. . . what are yours ? Please share
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Flushing the DNS resolver cache can help resolve DNS-related problems in Microsoft Windows 11 and previous versions.
-----------------------
Ipconfig flushdns.bat
-----------------------
Ipconfig /flushdns
@Echo .
@Echo .
@Echo .
@echo off
pause
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Winget is a command-line tool for Windows that lets users manage software packages easily. winget combined with the specific subcommand upgrade updates apps to their latest versions, This one just checks for updates and does not install anything.
--------------------
winget update.bat
--------------------
winget update
@Echo .
@Echo .
@Echo .
@echo off
pause
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Here you can steal this as well.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Winget is a command-line tool for Windows that lets users manage software packages easily. winget combined with the specific subcommand upgrade updates apps to their latest versions,
-------------------------
winget update ALL.bat
-------------------------
@ECHO OFF
:choice
Echo .
Echo .
winget update
Echo .
Echo .
set /P c=----- ====== Installl All - Are You Sure ? Y/N ? ====== -----
Echo .
Echo .
Echo .
if /I “%c%” EQU “Y” goto :Yes
if /I “%c%” EQU “N” goto :No
goto :choice

:Yes
echo Yes
Echo .
Echo .
winget update --all
Echo .
Echo .
pause
exit

:No
Echo .
Echo .
Echo Will NOT Install Anything
Echo .
Echo .
Echo .
pause
exit

:End
exit
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Sfc /scannow is a command of System File Checker, a utility built in the Windows operating systems. System File Checker scans critical system files and verify their versions. If this utility finds any files that has the wrong versions, it replaces them with the correct, verified ones.
------------------
sfc scannow.bat
------------------
sfc /scannow
@Echo .
@Echo .
@Echo .
@echo off
pause
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.4249
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
sfc scannow.bat
------------------
sfc /scannow
@Echo .
@Echo .
@Echo .
@echo off
pause


 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.4249
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Search string in file.

Batch:
@echo off
setlocal enabledelayedexpansion

set /p "searchString=YOUR_STRING_HERE"


for %%F in (*.bat) do (
    findstr /c:"%searchString%" "%%F" >nul && echo Found: %%F
)


pause
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
If you use search, click on advanced search, click on search threads
Search Bat File and select the tutorials thread to search.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.4249
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Ipconfig /displaydns is a command that shows the DNS resolver cache of your system. The cache keeps track of IP addresses and website names you have already visited.
--------------------------
Ipconfig displaydns.bat
--------------------------
Ipconfig /displaydns
@Echo .
@Echo .
@Echo .
@echo off
pause
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Schedule Windows shutdown.

Batch:
:: This batch script coded by FreeBooter

@Echo Off

REM  --> Check for permissions
Reg query "HKU\S-1-5-19\Environment"
REM --> If error flag set, we do not have admin.
if %errorlevel% NEQ 0 (
ECHO                 **************************************
ECHO                  Running Admin shell... Please wait...
ECHO                 **************************************

    goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = "%*:"=""
    echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
    exit /B


:gotAdmin

Color 5f

Mode 65,20
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo      Enter a Time (in Minutes ) to Schedule a PC Shutdown
Echo.
Echo.
Echo.
Echo.
Echo     Type (Y) Letter to Cancel Previously Scheduled Shutdown

Set /p time=^>

If /i Not %time%==Y (Goto Ex) Else (Goto Cancel)

:Ex

Set minutes=%time%

Set /a time=%time%*60

If %time% GEQ 1  (Goto Schedule) Else (Goto Cancel)


:Schedule

Shutdown -s -t %time%

Cls

Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo           In %minutes% Minutes Computer Will Shutdown

Ping -n 5 localhost > Nul

Exit

:Cancel

Shutdown /a

Cls

Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo             The Scheduled Shutdown Event Canceled

Ping -n 5 localhost > Nul

Exit
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Clear temporary file on Windows.

Batch:
:: Batch Script Created by FreeBooter

@Echo Off & Cls

(Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)

Call :IsAdmin

Mode CON LINES=5 COLS=50 & Color 0E

Echo                   PLEASE WAIT...

:: This command deletes the oldest shadow copy on drive C
vssadmin delete shadows /for=c: /oldest 2>&1 >nul

::Creating System Restore point
Wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "Before Deleting Temp Files", 100, 12


::    CLEANUP STAGE
Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files"  /v LastAccess /t REG_DWORD /d "0" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\BranchCache" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Downloaded Program Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Internet Cache Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Memory Dump Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Old ChkDsk Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Previous Installations" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Recycle Bin" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Service Pack Cleanup" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Setup Log Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error memory dump files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error minidump files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Setup Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Update Cleanup" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Upgrade Discarded Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\User file versions" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Defender" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting Archive Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting Queue Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting System Archive Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting System Queue Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows ESD installation files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul

Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Upgrade Log Files" /v "StateFlags0064" /t REG_DWORD /d "2" /f 2>&1 >nul



Cls & Mode CON  LINES=10 COLS=50 & Color 1E & Title Created by FREEBOOTER
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo           ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
Echo           º DELETING TEMPORARY FILES º 
Echo           ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
Echo.

CLEANMGR /sagerun:64



Cls
:: Clear Temporary Folder.
Cd %TMP%
For /f "tokens=*" %%a in ('Dir /b %LOCALAPPDATA%\Temp') do (
Echo Y | Rd /s /q "%%a" 2>NUL 1>NUL
If Exist "%%a" Echo Y | Del /a /f "%%a" 2>NUL 1>NUL
)
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo        FINNISH DELETING TEMPORARY FILES
Echo.
Echo.
ping -n 5 localhost >Nul


Cls

Del /a /f /q "%SystemRoot%\Prefetch\*"



Cls & Mode CON  LINES=12 COLS=80 & Color 1E & Title Created by FREEBOOTER

Cd  %SystemRoot%\System32

Net Start TrustedInstaller 2>NUL 1>NUL



Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 8" >Nul
If Not Errorlevel 1 (
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
) Else (
Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 8.1" >Nul
If Not Errorlevel 1 (
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
) Else (
Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 10" >Nul
If Not Errorlevel 1 (
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
) Else (
Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 11" >Nul
If Not Errorlevel 1 (
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase   
Goto :Event_Log
) ) ) )

Ping -n 4 localhost >Nul

Goto :Event_Log




:IsAdmin
Reg query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
 Cls & Mode CON  LINES=5 COLS=48 & Color 0C & Title - WARNING -
 Echo.
 Echo.
 Echo  YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE
 Pause >Nul & Exit
)
Cls
Goto :EOF



:Event_Log
Cls
Mode CON  LINES=33 COLS=85
For /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
Echo.
Echo                    Event Logs Have Been Cleared!
Ping -n 5 127.0.0.1 >Nul
Goto :eof
:do_clear
Echo clearing %1
wevtutil.exe cl %1
Goto :eof
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Renames all files in current directory to a "random" name. Be very careful using this !
-----------------------
_RandomNames.bat
-----------------------
@ECHO OFF
ECHO Random Names
ECHO Written By: Jason Faulkner
ECHO.
ECHO.

REM Randomly renames every file in a directory.

SETLOCAL EnableExtensions EnableDelayedExpansion

REM 0 = Rename the file randomly.
REM 1 = Prepend the existing file name with randomly generated string.
SET PrependOnly=0

REM 1 = Undo changes according to the translation file.
REM This will only work if the file "__Translation.txt" is in the same folder.
REM If you delete the translaction file, you will not be able to undo the changes!
SET Undo=0


REM --------------------------------------------------------------------------
REM Do not modify anything below this line unless you know what you are doing.
REM --------------------------------------------------------------------------

SET TranslationFile=__Translation.txt

IF NOT {%Undo%}=={1} (
REM Rename files
ECHO You are about to randomly rename every file in the following folder:
ECHO %~dp0
ECHO.
ECHO A file named %TranslationFile% will be created which allows you to undo this.
ECHO Warning: If %TranslationFile% is lost/deleted, this action cannot be undone.
ECHO Type "OK" to continue.
SET /P Confirm=
IF /I NOT {!Confirm!}=={OK} (
ECHO.
ECHO Aborting.
GOTO :EOF
)

ECHO Original Name/Random Name > %TranslationFile%
ECHO ------------------------- >> %TranslationFile%

FOR /F "tokens=*" %%A IN ('DIR /A:-D /B') DO (
IF NOT %%A==%~nx0 (
IF NOT %%A==%TranslationFile% (
SET Use=%%~xA
IF {%PrependOnly%}=={1} SET Use=_%%A

SET NewName=!RANDOM!-!RANDOM!-!RANDOM!!Use!
ECHO %%A/!NewName!>> %TranslationFile%

RENAME "%%A" "!NewName!"
)
)
)
) ELSE (
ECHO Undo mode.
IF NOT EXIST %TranslationFile% (
ECHO Missing translation file: %TranslationFile%
PAUSE
GOTO :EOF
)
FOR /F "skip=2 tokens=1,2 delims=/" %%A IN (%TranslationFile%) DO RENAME "%%B" "%%A"
DEL /F /Q %TranslationFile%
)
 

My Computer

System One

  • OS
    Windows 11 Home 64-bit
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Laptop Zenbook Pro 14
    CPU
    Intel Core i9-13900H 2.6 GHz, 24MB 14 cores 20 threads
    Memory
    32GB DDR5
    Graphics Card(s)
    NVIDIA GeForce RTX 4060 and Intel Iris Xe Graphics
    Monitor(s) Displays
    14.5" 2.8K OLED 16:10 120Hz 400nits
    Screen Resolution
    2880 x 1800 pixels
    Hard Drives
    1TB M.2 NVMe™ PCIe® 4.0 Performance SSD
    Mouse
    Bluetooth
    Browser
    Microsoft Edge
    Antivirus
    McAfee , Malwarebytes , Ccleaner
Set Logon Time Limits For Any Account in Windows

Batch:
:: Set Logon Time Limits For Any Account in Windows


@Echo Off

Cls & Color 0E



(Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)

Cls



:UserName

Echo.
Echo            Specify the UserName that you want to limit 
Echo.
Echo.
Set /p "User=:^> "
Cls
if ["%User%"]==[] Goto :UserName


:_CHOICE

Cls & Mode CON  LINES=11 COLS=80 & Color 0E & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo        1 - Do You Want to Set Time Limit for the User Account: "%User%"   
Echo.       
Echo        2 - Allow the "%User%" Access at all Times.
Echo.


Set /p input=:^>

If Not %input%==1 (Goto :_Ex) Else (Goto :_Enable)

:_Ex
If Not %input%==2  (Goto :_CHOICE) Else (Goto :_Disable)



:_Enable
Cls & Mode CON  LINES=11 COLS=140 & Color 0E & Title Created By FreeBooter
Cls
Echo.
Echo            Specify the times that users are allowed to use the computer.
Echo            You can use 12-hour or 24-hour notation for hours.
Echo            If you use 12-hour notation, use AM and PM, or A.M. and P.M.
Echo            You can use any of these time range using either a 12-hour (3am, 1pm, etc.) or 24-hour (03:00, 13:00, etc.) format.
Echo            You can only use times in one-hour increments, so don't add any minutes to the times.
Echo.
Echo            Type Logoff Hour
Echo.
Set /p Start=:^>
Cls
Echo.
Echo            Type Login Hour
Echo.
Set /p Login=:^>


Net user "%User%" /times:M-Su,%Start%-%Login%


 
Cls & Mode CON  LINES=11 COLS=60 & Color 0E & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo          Denying User Account "%User%" Access to Windows   
Echo.
Echo.
Echo.
Ping -n 6 localhost >Nul
Exit



:_Disable


Net user "%User%" /time:all

Cls & Mode CON  LINES=11 COLS=70 & Color 0E & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo          Allowing the "%User%" Access to Windows at all Times
Echo.
Echo.
Echo.
Ping -n 6 localhost >Nul
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Change permissions and (optionally) delete some target.

Batch:
@echo off

set TargetFolder=D:\498047efs dfsjkhfs

REM Take ownership.
takeown.exe /f "%TargetFolder%" /a /r /d y /skipsl

REM Grant permissions to Administrators and current user.
icacls.exe "%TargetFolder%" /grant:r Administrators:F /t /c /l /q
icacls.exe "%TargetFolder%" /grant:r %USERDOMAIN%\%USERNAME%:F /t /c /l /q

REM Clear attributes.
attrib -h -r -s -a "%TargetFolder%" /s /d /l

REM Remove.
REM rmdir /s /q "%TargetFolder%"

set TargetFolder=
pause
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Put this in the start of your batch to have uac prompt for elevation, so you dont need to remember to right click the bat and run as admin:

For bat files:

Code:
: BatchGotAdmin
@ echo off
echo Requesting administrative privileges...
timeout /t 3 /nobreak >nul
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
echo Successfully achieved admin rights.
timeout /t 3 /nobreak >nul
:--------------------------------------

For powershell:

Code:
Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList '-command "put your instructions or commands here"'
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Built
    CPU
    Ryzen 7 5700 X3D
    Motherboard
    MSI MPG B550 GAMING PLUS
    Memory
    64 GB DDR4 3600mhz Gskill Ripjaws V
    Graphics Card(s)
    RTX 4070 Super , 12GB VRAM Asus EVO Overclock
    Monitor(s) Displays
    Gigabyte M27Q (rev. 2.0) 2560 x 1440 @ 170hz HDR
    Hard Drives
    2TB Samsung nvme ssd
    2TB XPG nvme ssd
    PSU
    CORSAIR RMx SHIFT Series™ RM750x 80 PLUS Gold Fully Modular ATX Power Supply
    Case
    CORSAIR 3500X ARGB Mid-Tower ATX PC Case – Black
    Cooling
    ID-COOLING FROSTFLOW X 240 CPU Water Cooler
    Internet Speed
    900mbps DOWN, 100mbps UP
  • Operating System
    Chrome OS
    Computer type
    Laptop
    Manufacturer/Model
    HP Chromebook
    CPU
    Intel Pentium Quad Core
    Memory
    4GB LPDDR4
    Monitor(s) Displays
    14 Inch HD SVA anti glare micro edge display
    Hard Drives
    64 GB emmc
I made one of these. Don't be too hard on me. There are probably a lot of bugs, but it seems to work.

Code:
@echo off
:: Created by Dronix7 01.01.2025 Changed 01.02.2025
:: ========= CHECKING WHETHER THE SCRIPT IS RUNNING AS AN ADMINISTRATOR, AND IF NOT, THEN RUN AS AN ADMINISTRATOR ===================================
(Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & exit /b) & chcp 65001 > nul & title %~nx0
:: ==================================================================================================================================================
set VK1=Created  01.01.25 & set VK3=Changed 01.02.2025 & set Video="My Video 2025.01.01.bat"
mode con:cols=69 lines=10 & color F4
(set R=[31m) & (set B=[34m) & (set G=[32m) & (set E=[30;107m) & (set YL=[35;107m) & (set IR=[0m) & (set NK=[3m)
:: ====================================== Selecting Enabling or Disabling ViveTool Functions ========================================================
echo.
echo                     %G%Turn on%E% or %R%Turn off%E% the Function
echo.
echo    %B%╔═════════════════════════════════════════════════════════════╗%E%
echo    %B%║%E% 1 - %NK%%G%/enable  Enabling%IR%%E%  the ViveTool or StagingTool Function%E% ║
echo    %B%║%E% 2 - %NK%%R%/disable Disabling%IR%%E% the ViveTool or StagingTool Function%E% ║
echo    %B%╚═════════════════════════════════════════════════════════════╝%E%
echo.
set /p Vubor=".%B%    Select the Desired one and %NK%%R%Enter%IR%%E%%B% or %NK%%R%Enter%IR%%E%%B% to Exit:%R%➤ "%E%
:: ======================================================= Variables ================================================================================
if %Vubor% gtr 2 (exit /b) else if %Vubor% lss 1 (exit /b)
                  set stquery=stagingtool.exe /query    & set ExChoice=vivetool /enable  /id:
                  set vtquery=vivetool /query /id:
                  set vtreset=vivetool /reset /id:
if  %Vubor% == 1 (set OnOff= Turn On )                 & (set vtcom=vivetool /enable  /id:)
if  %Vubor% == 2 (set OnOff= Turn Off )                & (set vtcom=vivetool /disable /id:)
:: ================================================= Executing  Routines ============================================================================
:Vupolnenie
(set  R=[31m)     & (set  B=[34m)     & (set  G=[32m) & (set  W=[97m) & (set  E=[30;107m)
(set BG=[30;103m) & (set BL=[32;103m) & (set RI=[7m)  & (set IR=[0m)  & (set NK=[3m)
:: ================================= Changing the Size and Background of the Batch File Console =====================================================
mode con:cols=154 lines=80 & color F0 & echo.
:: ====================== Changing the Disk and Folder Paths to the Current Ones and Determining Windows Data =======================================
cd /d %~dp0 & call :Version
:: =========================================== Selecting and Executing ViveTool Commands ============================================================
echo   ╔══════╦══════════════════════════════════════════════════════════╦════════╦════════╦════════════════════╦═════════╦═════════╦═══════════════════════╗
echo   ║ %NK%%YL%Vive%E% ║ %YL%       Name of the Function to Turn On, Off, Check%E%       ║ %YL% Help%E%  ║ %YL% Help %E% ║  %YL%Yotube    RuTube%E%  ║ %YL%Function%E%║    %R%Full%E% ║        %YL%Windows 11%IR%%E%     ║
echo   ║ %NK%%YL%Tool%E% ║    %YL%        Ids using ViveTool or StagingTool        %E%     ║%YL%PcPortal%E%║  %YL%Site%E%  ║     %YL%Платформа%E%      ║ %YL% Status%E% ║   %R%Reset%E% ║       %YL%Build Number%IR%%E%    ║
echo   ╚══════╩══════════════════════════════════════════════════════════╩════════╩════════╩════════════════════╩═════════╩═════════╩═══════════════════════╝
echo   ╔══════╦══════════════════════════════════════════════════════════╦════════╦════════╦════════════════════╦═════════╦═════════╦═══════════════════════╗
echo   ║   1  ║ %B%New Position of Widgets on the Taskbar%E%                   ║  1011  ║  2011  ║  3101  3201  3301  ║    901  ║    %NK%%R%501%IR%%E%  ║ All Builds of Windows ║
echo   ║   2  ║ %B%Integration Phone Connection with the Start Menu%E%         ║  1012  ║  2012  ║  3102  3202  3302  ║    902  ║    %NK%%R%502%IR%%E%  ║ 22635.4870 26235.3790 ║
echo   ║   3  ║ %B%Adjusting the Output Details ··· in the Explorer%E%         ║  1013  ║  2013  ║  3103  3203  3303  ║    903  ║    %NK%%R%503%IR%%E%  ║All Builds Except Beta ║
echo   ║   4  ║ %B%Signatures of the "Rename, etc." icons in the Explorer%E%   ║  1014  ║        ║  3104  3204  3304  ║    904  ║    %NK%%R%504%IR%%E%  ║            26235.4660 ║
echo   ║   5  ║ %B%Detailed Presentation in the "System" Section%E%            ║  1015  ║  2015  ║  3105  3205  3305  ║    905  ║    %NK%%R%505%IR%%E%  ║ 26235.4660 27783.1000 ║
echo   ║   6  ║ %B%The "Save" button in the Test Settings%E%                   ║  1016  ║        ║  3106  3206  3306  ║    906  ║    %NK%%R%506%IR%%E%  ║            27768.1000 ║
echo   ║   7  ║ %B%Battery Percentage Display on the Taskbar%E%                ║  1017  ║  2017  ║  3107  3207  3307  ║    907  ║    %NK%%R%507%IR%%E%  ║            26120.2992 ║
echo   ║   8  ║ %B%Improved Start Menu Section ► All Applications%E%           ║  1018  ║  2018  ║  3108  3208  3308  ║    908  ║    %NK%%R%508%IR%%E%  ║ 22635.4870 22635.4800 ║
echo   ║   9  ║ %B%File Sharing - Drag Tray%E%                                 ║  1019  ║  2019  ║  3109  3209  3309  ║    909  ║    %NK%%R%509%IR%%E%  ║            22635.4805 ║
echo   ║  10  ║ %B%Emoji button in the System Tray - %NK%%R%Variant-1%IR%%E%              ║  1020  ║        ║  3110  3210  3310  ║    910  ║    %NK%%R%510%IR%%E%  ║ 22635.4870 26120.3073 ║
echo   ║  11  ║ %B%Emoji button in the System Tray - %NK%%R%Variant-2%IR%%E%              ║  1021  ║        ║  3111  3211  3311  ║    911  ║    %NK%%R%511%IR%%E%  ║ 22635.4870 26120.3073 ║
echo   ║  12  ║ %B%Emoji button in the System Tray - %NK%%R%Variant-3%IR%%E%              ║  1022  ║        ║  3112  3212  3312  ║    912  ║    %NK%%R%512%IR%%E%  ║ 22635.4870 26120.3073 ║
echo   ║  13  ║ %B%Emoji button in the System Tray - %NK%%R%Variant-4%IR%%E%              ║  1023  ║        ║  3113  3213  3313  ║    913  ║    %NK%%R%513%IR%%E%  ║ 22635.4870 26120.3073 ║
echo   ╠══════╬══════════════════════════════════════════════════════════╩════════╩════════╬════════════════════╬═════════╩═════════╩═══════════════════════╣
echo   ║ 999  ║ %NK%%R%Additionally%IR%%E%: %B%Videos on Other Platforms:%E%                                   ║ %B%VK, Telegram, Dzen%E% ║                                           ║
echo   ╚══════╩════════════════════════════════════════════════════════════════════════════╩════════════════════╩═══════════════════════════════════════════╝
echo.
set choice=
set /p choice="%B%.  Select the Desired one and %NK%%R%Enter%IR%%E%%B% or %NK%%R%Enter%IR%%E%%B% to Exit:%R%➤ "%E% & echo. & color E0
if %choice% == exit /b
:: =========================================== New Position of Widgets on the Taskbar ===============================================================
:: Created by Dronix7 30.03.2024
if %Vubor%  ==    1 ((set Identf=Identifiers) & (set Action=Enabled )) else ((set Identf=Identifiers) & (set Action=Disabled ))
if %choice% ==    1 %vtcom%48660958,48468527,48468541   & (set Id=48660958, 48468527, 48468541) &  echo.                            & goto :Dalee
if %choice% ==  901 %stquery% 48660958 & echo. & %stquery% 48468527 & echo. & %stquery% 48468541                         & echo.
if %choice% ==  901 %vtquery%48660958,48468527,48468541 & (set Id=48660958, 48468527, 48468541) & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  501 %vtreset%48660958,48468527,48468541 & (set Id=48660958, 48468527, 48468541) & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1011 start https://clck.ru/39kceE        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2011 start https://clck.ru/39mDVp        & (set Id=Help on the Site)             &  set Action=Neowin                & goto :_Dalee1
if %choice% == 3101 start https://clck.ru/3FF5wU                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3201 start https://clck.ru/3FF6i9                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3301 start https://clck.ru/3FF6L3                                                &  set Action=Платформа             & goto :_Dalee1
:: ======================================= Integration Phone Connection with the Start Menu =========================================================
:: Created by Dronix7 22.06.2024
if %Vubor%  ==    1 ((set Identf=Identifiers) & (set Action=Enabled )) else ((set Identf=Identifiers) & (set Action=Disabled ))
if %choice% ==    2 %ExChoice%48433719 & echo. & %vtcom%48697323 & (set Id=48433719, 48697323)                           & echo.    & goto :Dalee
if %choice% ==  902 %stquery% 48433719 & echo. & %stquery% 48697323                                                      & echo.
if %choice% ==  902 %vtquery%48433719,48697323          & (set Id=48433719, 48697323)           & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  502 %vtreset%48697323                   & (set Id=48697323)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1012 start https://clck.ru/39kceE        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2012 start https://clck.ru/3FGsqx        & (set Id=Help on the Site)             &  set Action=Community             & goto :_Dalee1
if %choice% == 3102 start https://clck.ru/3Fa2hW                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3202 start https://clck.ru/3Fa34z                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3302 start https://clck.ru/3FHAEa                                                &  set Action=Платформа             & goto :_Dalee1
:: ========================================= Adjusting the Output Details ··· in the Explorer =======================================================
:: Created by Dronix7 22.06.2024
if %Vubor%  ==    1 ((set Identf=Identifier) & (set Action=Enabled )) else ((set Identf=Identifier) & (set Action=Disabled ))
if %choice% ==    3 %vtcom%51960011                     & (set Id=51960011)                                              & echo.    & goto :Dalee
if %choice% ==  903 %stquery% 51960011                                                                                   & echo.
if %choice% ==  903 %vtquery%51960011                   & (set Id=51960011)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  503 %vtreset%51960011                   & (set Id=51960011)                     & (set Action=Reset)   & echo.    & goto :_Dalee1
if %choice% == 1013 start https://clck.ru/3Ed8gN        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2013 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)             &  set Action=ElevenForum           & goto :_Dalee1
if %choice% == 3103 start https://clck.ru/3FNnJH                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3203 start https://clck.ru/3FNmVW                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3303 start https://clck.ru/3FNnLC                                                &  set Action=Платформа             & goto :_Dalee1
:: ======================================= Signatures of the "Rename, etc." icons in the Explorer ===================================================
:: Created by Dronix7 04.01.2025
if %Vubor%  ==    1 ((set Identf=Identifier) & (set Action=Enabled )) else ((set Identf=Identifier) & (set Action=Disabled ))
if %choice% ==    4 %vtcom%54792954                     & (set Id=54792954)                                              & echo.    & goto :Dalee
if %choice% ==  904 %stquery% 54792954                                                                                   & echo.
if %choice% ==  904 %vtquery%54792954                   & (set Id=54792954)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  504 %vtreset%54792954                   & (set Id=54792954)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1014 start https://clck.ru/3Fa5H8        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
:: if %choice% == 2014 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)              &  set  Action=ElevenForum           & goto :_Dalee1
if %choice% == 3104 start https://clck.ru/3Fa2hW                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3204 start https://clck.ru/3Fa34z                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3304 start https://clck.ru/3Fa3Ff                                                &  set Action=Платформа             & goto :_Dalee1
:: ========================================== Detailed Presentation in the "System" Section =========================================================
:: Created by Dronix7 04.01.2025 Changed 29.01.2025
if %Vubor%  ==    1 ((set Identf=Identifiers) & (set Action=Enabled )) else ((set Identf=Identifiers) & (set Action=Disabled ))
if %choice% ==    5 %ExChoice%48433719 & echo. & %vtcom%51784082,54618938 & (set Id=51784082,54618938,48433719)          & echo.    & goto :Dalee
if %choice% ==  905 %stquery% 48433719 & echo. & %stquery% 51784082  & echo. & %stquery% 54618938                                   & echo.
if %choice% ==  905 %vtquery%51784082,54618938,48433719 & (set Id=51784082,54618938,48433719)   & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  505 %vtreset%51784082,54618938          & (set Id=51784082,54618938)            & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1015 start https://clck.ru/3Fa5H8        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2015 start https://clck.ru/3Fameu        & (set Id=Help on the Site)             &  set Action=TheCommunity          & goto :_Dalee1
if %choice% == 3105 start https://clck.ru/3FaX8h                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3205 start https://clck.ru/3FaXA9                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3305 start https://clck.ru/3FaXBj                                                &  set Action=Платформа             & goto :_Dalee1
:: =========================================== The "Save" button in the Test Settings =============================================================
:: Created by Dronix7 10.01.2025
if %Vubor%  ==    1 ((set Identf=Identifier) & (set Action=Enabled )) else ((set Identf=Identifier) & (set Action=Disabled ))
if %choice% ==    6 %vtcom%53433737                     & (set Id=53433737)                                              & echo.    & goto :Dalee
if %choice% ==  906 %stquery% 53433737                                                                                   & echo.
if %choice% ==  906 %vtquery%53433737                   & (set Id=53433737)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  506 %vtreset%53433737                   & (set Id=53433737)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1016 start https://clck.ru/3FfLGf        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
:: if %choice% == 2016 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)             &  set Action=ElevenForum           & goto :_Dalee1
if %choice% == 3106 start https://clck.ru/3Fk4pV                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3206 start https://clck.ru/3Fk4wp                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3306 start https://clck.ru/3Fk4zh                                                &  set Action=Платформа             & goto :_Dalee1
:: ========================================== Battery Percentage Display on the Taskbar =============================================================
:: Created by Dronix7 18.01.2024
if %Vubor%  ==    1 ((set Identf=Identifiers) & (set Action=Enabled )) else ((set Identf=Identifiers) & (set Action=Disabled ))
if %choice% ==    7 %ExChoice%48433719 & echo. & %vtcom%48822452 & (set Id=48433719, 48822452)                           & echo.    & goto :Dalee
if %choice% ==  907 %stquery% 48433719 & echo. & %stquery% 48822452                                                      & echo.
if %choice% ==  907 %vtquery%48433719,48822452          & (set Id=48433719, 48822452)           & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  507 %vtreset%48822452                   & (set Id=48822452)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1017 start https://clck.ru/3FpCoy        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2017 start https://clck.ru/3FpCjj        & (set Id=Help on the Site)             &  set Action=Community             & goto :_Dalee1
if %choice% == 3107 start https://clck.ru/3FpB9t                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3207 start https://clck.ru/3FpBCj                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3307 start https://clck.ru/3FpBFW                                                &  set Action=Платформа             & goto :_Dalee1
:: ========================================== Improved Start Menu Section ► All Applications ========================================================
:: Created by Dronix7 19.01.2025
(set Id1=48433719) & (set Id2=47205210) & (set Id3=49221331) & (set Id4=47205210,49221331) & (set Id5=48433719,47205210,49221331)
if %Vubor%  ==    1 ((set Identf=Identifiers) & (set Action=Enabled )) else ((set Identf=Identifiers) & (set Action=Disabled ))
if %choice% ==    8 %ExChoice%%Id1% & echo. & %vtcom%%Id4% & (set Id=%Id5%)                                              & echo.    & goto :Dalee
if %choice% ==  908 %stquery% %Id1% & echo. & %stquery% %Id2% &  echo. & %stquery% %Id3%                                 & echo.
if %choice% ==  908 %vtquery%%Id5%                      & (set Id=%Id5%)                        & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  508 %vtreset%%Id4%                      & (set Id=%Id4%)                        & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1018 start https://clck.ru/3FpaZq        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2018 start https://clck.ru/3Fps4i        & (set Id=Help on the Site)             &  set Action=Deskmodder            & goto :_Dalee1
if %choice% == 3108 start https://clck.ru/3FpZqm                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3208 start https://clck.ru/3FpZrv                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3308 start https://clck.ru/3FpZtP                                                &  set Action=Платформа             & goto :_Dalee1
:: =================================================== File Sharing - Drag Tray =====================================================================
:: Created by Dronix7 19.01.2025
(set Id1=48433719) & (set Id2=45624564) & (set Id3=53397005) & (set Id4=45624564,53397005) & (set Id5=48433719,45624564,53397005)
if %Vubor%  ==    1 ((set Identf=Identifiers) & (set Action=Enabled )) else ((set Identf=Identifiers) & (set Action=Disabled ))
if %choice% ==    9 %ExChoice%%Id1% & echo. & %vtcom%%Id4% & (set Id=%Id5%)                                              & echo.    & goto :Dalee
if %choice% ==  909 %stquery% %Id1% & echo. & %stquery% %Id2% &  echo. & %stquery% %Id3%                                 & echo.
if %choice% ==  909 %vtquery%%Id5%                      & (set Id=%Id5%)                        & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  509 %vtreset%%Id4%                      & (set Id=%Id4%)                        & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% == 1019 start https://clck.ru/3FyXWY        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 2019 start https://clck.ru/3FyaL6        & (set Id=Help on the Site)             &  set Action=Community             & goto :_Dalee1
if %choice% == 3109 start https://clck.ru/3Fy7HP                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3209 start https://clck.ru/3Fy7Uz                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3309 start https://clck.ru/3Fy7XH                                                &  set Action=Платформа             & goto :_Dalee1
:: ================================================= Emoji button in the System Tray ================================================================
:: Created by Dronix7 01.02.2025
if %Vubor%  ==    1 ((set Identf=Identifier) & (set Action=Enabled )) else ((set Identf=Identifier) & (set Action=Disabled ))
:: ==================================================================================================================================================
if %choice% ==   10 %vtcom%48504539 /variant:1          & (set Id=48504539)                                              & echo.    & goto :Dalee
if %choice% ==   11 %vtcom%48504539 /variant:2          & (set Id=48504539)                                              & echo.    & goto :Dalee
if %choice% ==   12 %vtcom%48504539 /variant:3          & (set Id=48504539)                                              & echo.    & goto :Dalee
if %choice% ==   13 %vtcom%48504539 /variant:4          & (set Id=48504539)                                              & echo.    & goto :Dalee
:: ==================================================================================================================================================
if %choice% ==  910 %stquery% 48504539                                                                                   & echo.
if %choice% ==  911 %stquery% 48504539                                                                                   & echo.
if %choice% ==  912 %stquery% 48504539                                                                                   & echo.
if %choice% ==  913 %stquery% 48504539                                                                                   & echo.
:: ==================================================================================================================================================
if %choice% ==  910 %vtquery%48504539                   & (set Id=48504539)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  911 %vtquery%48504539                   & (set Id=48504539)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  912 %vtquery%48504539                   & (set Id=48504539)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
if %choice% ==  913 %vtquery%48504539                   & (set Id=48504539)                     & (set Action=Verified)  & color 0A & goto :_Dalee1
:: ==================================================================================================================================================
if %choice% ==  510 %vtreset%48504539                   & (set Id=48504539)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% ==  511 %vtreset%48504539                   & (set Id=48504539)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% ==  512 %vtreset%48504539                   & (set Id=48504539)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
if %choice% ==  513 %vtreset%48504539                   & (set Id=48504539)                     & (set Action=Reset)     & echo.    & goto :_Dalee1
:: ==================================================================================================================================================
if %choice% == 1020 start https://clck.ru/3G7umY        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 1021 start https://clck.ru/3G7umY        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 1022 start https://clck.ru/3G7umY        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
if %choice% == 1023 start https://clck.ru/3G7umY        & (set Id=Help on the Site)             &  set Action=PcPortal              & goto :_Dalee1
:: ==================================================================================================================================================
:: if %choice% == 2020 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)              &  set Action=ElevenForum           & goto :_Dalee1
:: if %choice% == 2021 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)              &  set Action=ElevenForum           & goto :_Dalee1
:: if %choice% == 2022 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)              &  set Action=ElevenForum           & goto :_Dalee1
:: if %choice% == 2023 start https://clck.ru/3FNcC4        & (set Id=Help on the Site)              &  set Action=ElevenForum           & goto :_Dalee1
:: ==================================================================================================================================================
if %choice% == 3110 start https://clck.ru/3G7sui                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3111 start https://clck.ru/3G7sui                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3112 start https://clck.ru/3G7sui                                                &  set Action=YouTube               & goto :_Dalee1
if %choice% == 3113 start https://clck.ru/3G7sui                                                &  set Action=YouTube               & goto :_Dalee1
:: ==================================================================================================================================================
if %choice% == 3210 start https://clck.ru/3G7t53                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3211 start https://clck.ru/3G7t53                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3212 start https://clck.ru/3G7t53                                                &  set Action=RuTube                & goto :_Dalee1
if %choice% == 3213 start https://clck.ru/3G7t53                                                &  set Action=RuTube                & goto :_Dalee1
:: ==================================================================================================================================================
if %choice% == 3310 start https://clck.ru/3G7tBA                                                &  set Action=Платформа             & goto :_Dalee1
if %choice% == 3311 start https://clck.ru/3G7tBA                                                &  set Action=Платформа             & goto :_Dalee1
if %choice% == 3312 start https://clck.ru/3G7tBA                                                &  set Action=Платформа             & goto :_Dalee1
if %choice% == 3313 start https://clck.ru/3G7tBA                                                &  set Action=Платформа             & goto :_Dalee1
:: ==================================== Additionally: %B%Videos on Other Platforms: VK, Telegram, Dzen ==============================================
if %choice% ==  999 cmd /c %Video%                                                              & title %~nx0                       & goto :Vupolnenie
:: ============================================== Selection Of Additional Variables =================================================================
:Dalee
set ZF=%BG%
:_Dalee1
call :Messg
:: ==================================================================================================================================================
set ZF=%BG%& set RW=%R%
if "%choice:~0,2%" == "90" (set ZF=%G%) & (set R=%W%) & (set B=%W%) & echo.
if "%choice:~0,2%" == "91" (set ZF=%G%) & (set R=%W%) & (set B=%W%) & echo.
if "%choice:~0,2%" == "92" (set ZF=%G%) & (set R=%W%) & (set B=%W%) & echo.
if "%choice:~0,2%" == "93" (set ZF=%G%) & (set R=%W%) & (set B=%W%) & echo.
:: ==================================================================================================================================================
if "%choice:~0,2%" == "31"  echo      %B%Viewed a Video on the Website %R%%Action%%ZF%                                   & echo.    & goto :Dal
if "%choice:~0,2%" == "32"  echo      %B%Viewed a Video on the Website %R%%Action%%ZF%                                   & echo.    & goto :Dal
if "%choice:~0,2%" == "33"  echo      %B%Viewed a Video on the Website %R%%Action%%ZF%                                   & echo.    & goto :Dal
if "%choice:~0,3%" == "101" echo      %B%Viewed Site Help %R%%Action%%ZF%                                                & echo.    & goto :Dal
if "%choice:~0,3%" == "102" echo      %B%Viewed Site Help %R%%Action%%ZF%                                                & echo.    & goto :Dal
if "%choice:~0,3%" == "103" echo      %B%Viewed Site Help %R%%Action%%ZF%                                                & echo.    & goto :Dal
if "%choice:~0,2%" == "20"  echo      %B%Viewed Site Help %R%%Action%%ZF%                                                & echo.    & goto :Dal
:: ==================================================================================================================================================
echo      %NK%%Identf% %IR%%ZF%%B%%Id%%ZF% %NK%%Action% %ZF%%R%%Message%%IR%%ZF%                                         & echo.
:: ==================================================================================================================================================
:Dal
echo.    ╔═════════════════════════════════════════════════════════════╗
echo     ║     %R%0%ZF% - Continue Selecting ViveTool or StagingTool Commands ║
if "%choice:~0,2%" == "31" (goto :Dal2) else if "%choice:~0,2%" == "32" (goto :Dal2) else if "%choice:~0,2%" == "33" (goto :Dal2) else if "%choice:~0,2%" == "90" (goto :Dal2) else if "%choice:~0,2%" == "91" (goto :Dal2) else if "%choice:~0,2%" == "92" (goto :Dal2) else if "%choice:~0,2%" == "93" (goto :Dal2)
if "%choice:~0,3%" == "101" (goto :Dal2) else if "%choice:~0,3%" == "201" (goto :Dal2)
if "%choice:~0,3%" == "102" (goto :Dal2) else if "%choice:~0,3%" == "202" (goto :Dal2)
if "%choice:~0,3%" == "103" (goto :Dal2) else if "%choice:~0,3%" == "203" (goto :Dal2)
echo     ║    %R%00%ZF% - Computer Reboot                                     ║
echo     ║   %R%000%ZF% - Restarting Explorer                                 ║
:Dal2
echo     ║ %R%Enter%ZF% - EXIT                                                ║
echo.    ╚═════════════════════════════════════════════════════════════╝
echo.
if "%choice:~0,2%" == "90" (set G=[92m) & set OP=[96m
if "%choice:~0,2%" == "90" set /p choice=".%W%    Make Your Choice and Press %NK%%G%Enter%IR%%W% or %NK%%G%Enter%IR%%W% to Exit:%OP%➤ "   %ZF% & goto :MimoB
set /p choice="%B%.    Make Your Choice and Press %NK%%R%Enter%IR%%ZF%%B% or %NK%%R%Enter%IR%%ZF%%B% to Exit:%R%➤ "%E%
:MimoB
echo.
if "%choice%"==  "0" goto :Vupolnenie
if "%choice%"== "00" shutdown.exe -r -t 0
if "%choice%"=="000" goto :RestExpl
goto eof
goto :Vupolnenie
:: =================================================== Restarting Explorer ==========================================================================
:RestExpl
Taskkill /F /IM explorer.exe & start explorer.exe
:: ===================================================== Windows Data =============================================================================
:Version
@echo off & prompt $g
:: ============================================== BranchName - Update Channel =======================================================================
set RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability & set RegV=BranchName
reg query %RegPath%                                                               /v %RegV% >nul 2>&1
if %ERRORLEVEL% == 1 set NamerBranch=Stable & goto :MimoNamerBranch
    set UseExpresssion=Reg Query %RegPath%                                        /v %RegV%
    for /F "tokens=*" %%X IN ('%UseExpresssion%')                              do set "NamerBranch=%%X"
    set NamerBranch=%NamerBranch:*REG_SZ    =%
    :MimoNamerBranch
:: ===================================================== OSEdition ==================================================================================
:: Версия Windows
set RegPath="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"   & set RegV=ProductName
    set UseExpresssion=Reg Query %RegPath%                                        /v %RegV%
    for /F "tokens=*" %%X IN ('%UseExpresssion%')                              do set OSEdition=%%X
    set OSEdition=%OSEdition:*REG_SZ    =%
    set OSEdition=%OSEdition:~0,8%11%OSEdition:~10,4%
:: =================================================== Windows Type =================================================================================
    if Defined ProgramFiles(x86) (set OSType=x64) else (set OSType=x86)
set RegPath="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"   & set RegV=DisplayVersion
    set UseExpresssion=Reg Query %RegPath%                                        /v %RegV%
    for /F "tokens=*" %%X IN ('%UseExpresssion%')                              do set OSVersion=%%X
    set OSVersion=%OSVersion:*REG_SZ    =%
:BuildNo
@echo off
:: ============================================= BuildBranch - The Assembly Branch ==================================================================
set RegPath="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"   & set RegV=BuildBranch
set MyExpresssion=Reg Query %RegPath%                                             /v %RegV%
    for /F "tokens=*" %%X IN ('%MyExpresssion%')                               do set OSVe=%%X
    set BranchBuild=%OSVe:*REG_SZ    =%
:: ==================================== Windows Build - Includes The Full Assembly Number ===========================================================
    set UseExpresssion=Ver
    for /F "tokens=*" %%X IN ('%UseExpresssion%')                              do set OSBuild=%%X
    set  OSBuild=%OSBuild:*10.0.=%
    set  OSBuild=%OSBuild:~0,-1%
:: ========================================= The Check is Windows 10 or Windows 11 ==================================================================
    if   %OSBuild:~0,1% == 1 set OSEdition=%OSEdition:~0,8%10%OSEdition:~10,4%
:: ================================================= Output of Results ==============================================================================
:: ========================================= OSEdition OSBuild OSVersion OSType =====================================================================
echo                                                            %R% %OSEdition% %OSBuild% %OSVersion% %OSType% %E%
:: ============================================ Extracting The Processor Name =======================================================================
set RegPath=HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\1   & set RegV=ProcessorNameString
reg query %RegPath%                                                               /v %RegV% >nul 2>&1
for /f "tokens=2*" %%a in ('reg query %RegPath% /v %RegV%'    )                  do set "npr=%%b"
echo                                                            %B% %npr% %E%   & echo.
:: ==================================================================================================================================================
:: set NamerBranch=CanaryChannel& set BranchBuild=rs_prerelease
:: set NamerBranch=Dev& set BranchBuild=ge_release
:: set NamerBranch=Beta& set BranchBuild=ni_release
:: set NamerBranch=Stable & set BranchBuild=ge_release
:: set NamerBranch=ReleasePreview& set BranchBuild=ge_release
:: ================================================== Build Branch and Channel ======================================================================
if %NamerBranch% == CanaryChannel   set VK2=%NamerBranch% %BranchBuild% & goto :ObhodBC
if %NamerBranch% == Dev             set VK2=%NamerBranch% %BranchBuild% & goto :ObhodBC
if %NamerBranch% == Beta            set VK2=%NamerBranch% %BranchBuild% & goto :ObhodBC
if %NamerBranch% == Stable          set VK2=%NamerBranch% %BranchBuild% & goto :ObhodBC
if %NamerBranch% == ReleasePreview  set VK2=%NamerBranch% %BranchBuild% & goto :ObhodBC
:ObhodBC
:: ==================================== Display ENABLE, DISABLE the selectable ViveTool ID ==========================================================
echo                                                              %R%%RI%%OnOff%%IR%%E% ViveTool Selectable ID & echo.
:: ============================== File Creation Date Build Branch and Channel File Editing Date =====================================================
:: ===================================== Spaces Before & goto :CrChEd To Change as Needed ===========================================================
if %NamerBranch% == CanaryChannel   echo    %G%%VK1%%E%%R%                                           %VK2%%E%%G%                                         %VK3%%E% & goto :CrChEd
if %NamerBranch% == Dev             echo    %G%%VK1% %E% %R%                                               %VK2%  %E% %G%                                             %VK3% %E% & goto :CrChEd
if %NamerBranch% == Beta            echo    %G%%VK1% %E% %R%                                               %VK2%   %E% %G%                                           %VK3% %E% & goto :CrChEd
if %NamerBranch% == Stable          echo    %G%%VK1% %E% %R%                                             %VK2%  %E% %G%                                           %VK3% %E% & goto :CrChEd
if %NamerBranch% == ReleasePreview  echo    %G%%VK1%%E%%R%                                           %VK2%%E%%G%                                          %VK3%%E%
:CrChEd
goto :eof
:: =================================================== Displayed Messages ===========================================================================
:Messg
set "Message="
set Sb1=RESTART YOUR COMPUTER & set Sb2=REBOOT THE EXPLORER & set Sb3=THE CHANGES WILL TAKE EFFECT IMMEDIATELY. PRESS ENTER
if %choice% ==  1 (set Message=%Sb1%) else if %choice% == 501 (set Message=%Sb1%)
if %choice% ==  2 (set Message=%Sb1%) else if %choice% == 502 (set Message=%Sb1%)
if %choice% ==  3 (set Message=%Sb1%) else if %choice% == 503 (set Message=%Sb1%)
if %choice% ==  4 (set Message=%Sb1%) else if %choice% == 504 (set Message=%Sb1%)
if %choice% ==  5 (set Message=%Sb1%) else if %choice% == 505 (set Message=%Sb1%)
if %choice% ==  6 (set Message=%Sb1%) else if %choice% == 506 (set Message=%Sb1%)
if %choice% ==  7 (set Message=%Sb1%) else if %choice% == 507 (set Message=%Sb1%)
if %choice% ==  8 (set Message=%Sb2%) else if %choice% == 508 (set Message=%Sb2%)
if %choice% ==  9 (set Message=%Sb2%) else if %choice% == 509 (set Message=%Sb2%)
if %choice% == 10 (set Message=%Sb1%) else if %choice% == 510 (set Message=%Sb1%)
if %choice% == 11 (set Message=%Sb1%) else if %choice% == 511 (set Message=%Sb1%)
if %choice% == 12 (set Message=%Sb1%) else if %choice% == 512 (set Message=%Sb1%)
if %choice% == 13 (set Message=%Sb1%) else if %choice% == 513 (set Message=%Sb1%)
goto :eof
:: ==================================================================================================================================================
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Stable, Release Preview, Beta, Dev, Canary
    Computer type
    PC/Desktop
    Manufacturer/Model
    Micro-Star International Co., Ltd. MS-7D54
    CPU
    AMD Ryzen 9 PRO 5950X
    Motherboard
    MSI MAG X570S Tomahawk Max WiFi (MS-7D54) (2 PCI-E x1, 2 PCI-E x16, 2 M.2, 4 DDR4 DIMM, Audio, Video, 2.5GbE LAN, WiFi)
    Memory
    128 Gb
    Graphics Card(s)
    Intel(R) Arc(TM) A380 Graphics (2 ГБ)
    Sound Card
    Устройство с поддержкой High Definition Audio
    Monitor(s) Displays
    HP X34 [34" LCD] (6CM1300J5J) {2021}
    Screen Resolution
    3440x1440
    Hard Drives
    KINGSTON SFYRD2000G (2000 ГБ, PCI-E 4.0 x4)
    PSU
    Be Quiet! Dark Rock Pro 4
    Case
    Cooler Master HAF XB EVO
    Internet Speed
    1000 Mb/s
    Browser
    Chrome
    Antivirus
    Windows Defender
I need a nap after reading that @Dronix 😂
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears

Latest Support Threads

Back
Top Bottom