d:\hacker\ipc>for %%a in (%windir%\system32\*.dll) do echo %%a
此时不应有 %%a。
何解???作者: prodigall 时间: 2007-6-14 10:14 在你现在运行的环境下只需输入以下即可:
for %a in (%windir%\system32\*.dll) do regsvr32.exe /s %a
但你想要建立一个BAT文件再调用,就需用:
for %%a in (%windir%\system32\*.dll) do regsvr32.exe /s %%a
比如说建一个BAT文件,a.bat
里面的内容需是
for %%a in (%windir%\system32\*.dll) do regsvr32.exe /s %%a
你才能运行a.bat