Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 copy

Author  Topic 

ratheeshknair
Posting Yak Master

129 Posts

Posted - 2008-01-28 : 06:51:50
Hi All,

I want to copy a folder from one server to another using XP_CMDSHELL command.The folder contains many number of folders.HOw can i acheive that.Please help, TIA




RKNAIR

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-01-28 : 06:54:06
Use /s option



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2008-01-28 : 23:19:58
[code]XCOPY /S[/code]



KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -