@echo off & setlocal
setlocal enabledelayedexpansion
for %%i in ("C:\Users\Public\Documents\Native Instruments\installed_products\*.json") do (
echo %%i
)
改成
@echo off & setlocal
setlocal enabledelayedexpansion
cd C:\Users\Public\Documents\Native Instruments\installed_products
for %%i in ("*.json") do (echo %%i)
这样可以屏蔽读取的银色库路径方便复制库名称