LonnieJohnson
Programmer
I am writing a script for a trigger that will copy some files if a client record is closed when a certain date is entered. The code below works fine except for my subfolders.
Is there an easy way to copy those as well without getting into complicated recursive code?
If not, does anyone have any sample code?
Thanks in advance.
ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
Is there an easy way to copy those as well without getting into complicated recursive code?
If not, does anyone have any sample code?
Code:
Exec master.dbo.xp_cmdshell
'Copy \\profile-ks-001\pool\Client_Files\test1\*.*
\\profile-ks-001\pool\Client_Files\test2\*.*'
Go
Thanks in advance.
ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!