Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copying files across the network using TSQL

Status
Not open for further replies.

eja2000

Programmer
Nov 30, 2003
209
NG
how can i copy files across the network from one PC to another using TSQL?
Thanks
 
use xp_CMDShell to run copy. For Example:
Code:
xp_CMDShell 'copy c:\autoexec.bat \\server2\c$\autoexec.bat'

Denny

--Anything is possible. All it takes is a little research. (Me)

[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top