Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Problem in executing Robocopy using xp_cmdshell

$
0
0

Hi,

Can you please advice me on how to execute the robocopy command which supposed to get dynamic input - filename

and do the copy operation thru xp_cmdshell (i.e) thru t-sql

sample:

Set _filename = <source>+filename.txt

robocopy _filename <dest>



R.Manjunathan


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>