Save as a .bat
file:
// Run this if Epicor is freezing on startup
// Kill all Epicor and EpiEOBrowser processes
taskkill /f /im epicor.exe
taskkill /f /im EpiEOBrowser.exe
// Delete entire directory tree including root Epicor folder at each directory (logs and cache)
rmdir /s /q %appdata%\epicor
rmdir /s /q %localappdata%\Epicor
rmdir /s /q %programdata%\Epicor