# Split batch file commands into multiple lines in Windows

I am a newbie in writing batch files and need help.

I want to do the following tasks using a single batch file.

1) Start cmd 2) Change directory to C:\Program Files\Microsoft\MRO\R-3.3.0\bin 3) Run a R script there

I know I can achieve this if I write the command as follows :

``````    cmd.exe /K "cd C:\Program Files\Microsoft\MRO\R-3.3.0\bin && Rscript BlowerHealthIntegration.R 0.753975708353173 0.16874738612188295 0.028476842398414307 -0.014617814348478057 0.6436494038934525 0.17659988446055574 0.007223245126697915 -0.014617814348478057"
``````

But the main problem is I have to write everything in a single line.

How can I split them into separate lines ?

Say I want to write something like this

``````    cmd.exe
C:\Program Files\Microsoft\MRO\R-3.3.0\bin
Rscript BlowerHealthIntegration.R 0.753975708353173 0.16874738612188295 0.028476842398414307 -0.014617814348478057 0.6436494038934525 0.17659988446055574 0.007223245126697915 -0.014617814348478057
``````

This is like entering each command after pressing enter. How can I achieve this in Windows 7 x64 bit.

``````@echo off