• If you have permission to execute xp_cmdshell then you can use SQLCMD for the same.

    thanks,

    Saurabh