bat刪除、啟動、關閉、等待、複製 程式
阿新 • • 發佈:2019-02-16
@echo off
start "" "C:\Program Files\Diacom corporate\Diacom-NLS\Diacom-START_old.exe"
start /min /w mshta vbscript:setTimeout("window.close()",1000)
taskkill /f /IM Diacom-START_old.exe
del /a /q "C:\Program Files\Diacom corporate\Diacom-NLS\Diacom-START.exe"
copy /y "C:\Program Files\12D-NLS\12D_NLS.exe" "C:\Program Files\Diacom corporate\Diacom-NLS\"
copy /y "C:\Program Files\12D-NLS\DIACMORE.dll" "C:\Program Files\Diacom corporate\Diacom-NLS\"
copy /y "C:\Program Files\12D-NLS\ChinaSimple.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
copy /y "C:\Program Files\12D-NLS\English.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
copy /y "C:\Program Files\12D-NLS\Russian.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
copy /y "C:\Program Files\12D-NLS\China.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
del /a /q "C:\Documents and Settings\All Users\桌面\3D-CELL.lnk"
del /a /q "C:\Users\Public\Desktop\3D-CELL.lnk"
del /a /q "C:\Users\Public\Desktop\Diacom-NLS.lnk"
del /a /q "C:\Users\Public\Desktop\Diacom-NLS old.lnk"
del /a /q "C:\Users\Administrator\Desktop\3D-CELL.lnk"
del /a /q "C:\Users\Administrator\Desktop\Diacom-NLS.lnk"
del /a /q "C:\Users\Administrator\Desktop\Diacom-NLS old.lnk"
del /a /q "C:\Users\Default\Desktop\3D-CELL.lnk"
del /a /q "C:\Users\Default\Desktop\Diacom-NLS.lnk"
del /a /q "C:\Users\Default\Desktop\Diacom-NLS old.lnk"
RD /S /Q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\3DCELL-NLS"
RD /S /Q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Diacom corporate"
start "" "C:\Program Files\Diacom corporate\Diacom-NLS\Diacom-START_old.exe"
start /min /w mshta vbscript:setTimeout("window.close()",1000)
taskkill /f /IM Diacom-START_old.exe
del /a /q "C:\Program Files\Diacom corporate\Diacom-NLS\Diacom-START.exe"
del /a /q "C:\Program Files\Diacom corporate\Diacom-NLS\Diacom-START_old.exe"
copy /y "C:\Program Files\12D-NLS\DIACMORE.dll" "C:\Program Files\Diacom corporate\Diacom-NLS\"
copy /y "C:\Program Files\12D-NLS\ChinaSimple.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
copy /y "C:\Program Files\12D-NLS\English.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
copy /y "C:\Program Files\12D-NLS\Russian.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
copy /y "C:\Program Files\12D-NLS\China.lng" "C:\Program Files\Diacom corporate\Diacom-NLS\base\"
del /a /q "C:\Documents and Settings\All Users\桌面\3D-CELL.lnk"
del /a /q "C:\Users\Public\Desktop\3D-CELL.lnk"
del /a /q "C:\Users\Public\Desktop\Diacom-NLS.lnk"
del /a /q "C:\Users\Public\Desktop\Diacom-NLS old.lnk"
del /a /q "C:\Users\Administrator\Desktop\3D-CELL.lnk"
del /a /q "C:\Users\Administrator\Desktop\Diacom-NLS.lnk"
del /a /q "C:\Users\Administrator\Desktop\Diacom-NLS old.lnk"
del /a /q "C:\Users\Default\Desktop\3D-CELL.lnk"
del /a /q "C:\Users\Default\Desktop\Diacom-NLS.lnk"
del /a /q "C:\Users\Default\Desktop\Diacom-NLS old.lnk"
RD /S /Q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\3DCELL-NLS"
RD /S /Q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Diacom corporate"