Try to get into the habit of quoting any file path that is going to be passed to the command line - it'll save the aggravation caused by spaces in paths.
 Code:
shell '"'+%COMSPEC%+'" /c "x:\path to \filename.bat"'