I think is the game don't like the COC command in bat files. I also try to make a home bat files to teleport to Breezehome sometime when I don't want to walk back from the bottom of where map I'm at, but it will crash the game. Also, It seem like <refID>.moveto player don't really work on many NPC. For example, Onmund(1c1a2). 1c1a2.moveto player will not work but if I prid 1c1a2 and move to player, it won't have any problem.