Copy files from source to destination in SQL

Madhu.b.rokkam
Posted by Madhu.b.rokkam under Sql Server category on | Points: 40 | Views : 2337
Exec master.dbo.xp_cmdshell 'Copy c:\source\*.sql c:\destination'


This copies all the files in the Source folder to Destination folder.

Comments or Responses

Login to post response