@echo off
setlocal ENABLEDELAYEDEXPANSION
for /f "usebackq delims==" %%i in (`dir /ad/b "%ProgramFiles%\Tencent\QQ\Users"`) do (
if "%%i" NEQ "All Users" set DP="%ProgramFiles%\Tencent\QQ\Users\%%i"
copy 123.dll !DP!
)
原帖由 haiou327 于 2011-3-26 13:44 发表
@echo off
setlocal ENABLEDELAYEDEXPANSION
for /f "usebackq delims==" %%i in (`dir /ad/b "%ProgramFiles%\Tencent\QQ\Users"`) do (
if "%%i" NEQ "All Users" set DP="%ProgramFiles%\Tencent\QQ\User ...
@echo off
setlocal ENABLEDELAYEDEXPANSION
for /d %%i in ("%ProgramFiles%\Tencent\QQ\Users\*") do (
if "%%~ni" NEQ "All Users" set DP="%%i"
copy 123.dll !DP!
)