for /f "usebackq" %%i in (`chdir`) do SET CURRENT_DIR=%%i
echo %CURRENT_DIR%
cd /d %CURRENT_DIR%

regsvr32 Chat.dll /s
regsvr32 ChatEdit.dll /s
regsvr32 Core.dll /s
regsvr32 Encrypt.dll /s
regsvr32 LiveStream.dll /s
regsvr32 Log.dll /s
regsvr32 Picture.dll /s
regsvr32 QQLive.ocx /s
regsvr32 QQLiveAx.dll /s
regsvr32 QQLiveChatPlugin.dll /s
regsvr32 QQLiveCommu.dll /s
regsvr32 Right.dll /s
regsvr32 UserData.dll /s
regsvr32 XMLParser.dll /s
regsvr32 channelmgr.dll /s
