I have a script stored on a drive mapped to W: on a remote windows server. 
I set up this task in airflow:
t2 = SSHOperator(
    ssh_con_id = 'svr07',
    task_id = 'test_R', 
    command = 'C:/[path to R]/Rscript.exe W:/[path to script]/script.R', 
    dag = dag)
However it doesn't seem like I can use mapped drives in an SSH connection.
Is there any way to pass a multiline command? One line to map the drive and the next to call the above to cmd?