Can you please suggest all the files from one location to another using the temp table (#FileDetails)?I have a rmeote location where I want to copy all the files from local server to remote share.I have xp_cmdshell offers copy/move features but wanted to know if you have drafted already any other good script, can make use of it.Fianlly great script..
Ah... talking about a post slipping through the cracks... my apologies.
Using XP_CmdShell to call ROBOCOPY or even the much older XCOPY would probably do the trick for anyone needing to do such a thing. Whomever or whatever is running the command simply needs to have privs to the share and you'd use UNCs to identify the target directory/shere.
Heh... of course, I should also learn to read back up the chain of posts. :blush: