@echo off
taskkill /im multiJetSlicer.exe /f
taskkill /im WaxJet400.exe /f
TASKKILL /F /IM WaxJet400.exe

del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\WaxJet400*"
del "C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\WaxJet400*"
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\FlashForge.lnk"
7z\7za.exe x  WaxJet.7z  -o. -aoa

ping 127.0.0.1 -n 2

%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit

MKLINK  "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\FlashForge.lnk"  %~sdp0%FlashForge.bat

shutdown -f -r -t 0
