批处理读取注册表中run下面的值的代码
(编辑:jimmy 日期: 2024/11/1 浏览:3 次 )
复制代码 代码如下:
@echo off
for /f "tokens=2 delims=:" %%i in ('reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Run') do echo %systemDrive%%%i
pause>nul
@echo off
for /f "tokens=2 delims=:" %%i in ('reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Run') do echo %systemDrive%%%i
pause>nul
下一篇:dos 创建文件夹 md