Update root.bat

switched from edify commands to shell commands and remove useless code