1/ Make sure the qlikview service acount is running with sufficient access rights. This can sometimes be done by loging in to the server with that acount and see if you with File Explorer can delete/move files from that directory manually.
2/ Check that your batch script works in the command.exe while logged in to the same account as Qlikview services uses. Basically type the whole command in the cmd.exe ”dos” window (the black screen)
3/ if above works, did you permit ”allow execute” in the Sense or Qlikview server?