CMD through each file and execute a single command (for each result)

CMD, enter

for %1 in (%windir%\system32\*.dll)   do regsvr32.exe/s %1

1, traverse system32 all directories under the dll file , and each find every dll file , the file name will be assigned to 1%

2, regsvr32.exe to register them, that registers all dll files

3, 1% is a variable, whether any named? Or do you need to use number%

CMD, enter

for %1 in (%windir%\system32\*.dll)   do regsvr32.exe/s %1

1, traverse system32 all directories under the dll file , and each find every dll file , the file name will be assigned to 1%

2, regsvr32.exe to register them, that registers all dll files

3, 1% is a variable, whether any named? Or do you need to use number%

Guess you like

Origin www.cnblogs.com/zamscs/p/12046630.html