In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "how to list all boot items in batch". The content is simple and clear. I hope it can help you solve your doubts. Let me lead you to study and learn the article "how to list all boot items in batch".
The code is as follows:
@ echo off
:: considering that not all programs are installed under the system disk, use! str:~-1! To intercept the drive letter
If the path contains N Chinese characters, the last N characters of the path will not be displayed (one Chinese character occupies two character bits)
:: code by jm 2006-7-27
Setlocal enabledelayedexpansion
Echo.
Echo self-startup programs are as follows:
Echo.
For / f "skip=4 tokens=1* delims=:"% I in ('reg query HKLM\ Software\ Microsoft\ Windows\ CurrentVersion\ Run') do (
Set str=%%i
Set var=%%j
Set "varicose variant var:" =! "
If not "! var:~-1!" = "=" echo!
)
Pause > nul
The code is as follows:
@ ECHO OFF
SET RQ=REG QUERY
SET CU=HKEY_CURRENT_USER
SET LM=HKEY_LOCAL_MACHINE
SET FS=FINDSTR / V / B "! HKEY_" ^ | FINDSTR "."
SET WS=\ Software\ Microsoft\ Windows\ CurrentVersion\
SET WT=\ Software\ Microsoft\ Windows NT\ CurrentVersion\
SET CK=\ SYSTEM\ CurrentControlSet\ Control\ Session Manager
SET RT=LoadUserinitWindowsWinlogonShellRunOnceExPolicies\ Explorer\ RunBootExecute
SET RP=ECHO
% RP%&ECHO% ALLUSERSPROFILEN% ^ &% USERNAME%\ start menu\ programs\ start
FOR% I IN (ALLUSERSPROFILE;USERPROFILE) DO CALL DIR / B / S "% I%%\ start menu\ Program\ start"
% RP%
FOR / F "tokens=1-8 delims=:"% An IN ('FINDSTR / B "::"% ~ nx0 ") DO (
CALL: REGQUERY 1% A% B% C% D% E% F% G "> NUL"
)
SET / A 1amp% NUL&&GOTO 1 2 > EOF
SET / p CONU= is exported to a text document? (Yplink N):
ECHO CONU% | FIND / I "N" 1 > NUL 2%~n0%.txt
ECHO file list:%~dpn0%.txt
PAUSE > NUL& "% ~ dpn0%.txt"
GOTO: EOF
:: CU WT 12 7 V 0 4
:: LM WT 19 8 V 4 8
:: LM WT 19 8 V 27 5
:: CU WS 32 3 S 0 0
:: LM WS 32 3 S 0 0
:: CU WS 32 7 S 0 0
:: LM WS 32 7 S 0 0
:: CU WS 32 9 S 0 0
:: LM WS 32 9 S 0 0
:: CU WS 41 21 S 0 0
:: LM WS 41 21 S 0 0
:: LM CK 0 0 V 62 11
: REGQUERY
CALL SET PR=%%%~2%~3%%%%rt:~%~4,%~5%%&CALL SET PZ=%%rt:~%~7,%~8%%
ECHO [% PR%]% ~ 9% RQ% "% PR%" /% 6% PZ% 2 > NUL |% FS%% ~ 9&&%RP%&&SET/A 1% 12 > NUL&&CALL% 00% 2% 3% 4% 5% 6% 7% 8
GOTO: EOF
The above is all the contents of the article "how to list all boot items in batches". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.