Create a new SQL Agent job
In the general tab :
-specify a name
-specify the type : “Operating system (cmdexec)”
-specify the command :
cmd.exe /c “D:\Myfolders\myscript.bat”

Remark :
/c is an argument of the cmd command, meaning : “Carries out the command specified by string and then terminates”