• Other options like user login failed to work of what reasons could not get the error output for analysis, but this works.

    \full path\OSQL.EXE /E /d "Dev_db" /i "C:\SQL\dummyexport.sql" /o "C:\SQL\DE.csv"

    Experts has to say if its safe to use with option /E which requires no login and server details.

    Hope this helps someone!