Home > Archive > MS SQL Server New Users > November 2005 > copy files, create folder with sql









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author copy files, create folder with sql
Sam

2005-11-17, 1:23 pm

is their a way in sql code to do jobs like copy files on disk, create
folders ect...?



Andrew J. Kelly

2005-11-18, 3:23 am

master..xp_cmdshell "MKDIR MyFolder"

--
Andrew J. Kelly SQL MVP


"Sam" <focus10@zahav.net.il> wrote in message
news:Oj1t4456FHA.1276@TK2MSFTNGP09.phx.gbl...
> is their a way in sql code to do jobs like copy files on disk, create
> folders ect...?
>
>
>



Sam

2005-11-18, 3:23 am

thanks

how to copy a file?
how to open a file (shell command)?

"Andrew J. Kelly" < sqlmvpnooospam@shadh
awk.com> wrote in message
news:eNJsKa$6FHA.3564@TK2MSFTNGP10.phx.gbl...
> master..xp_cmdshell "MKDIR MyFolder"
>
> --
> Andrew J. Kelly SQL MVP
>
>
> "Sam" <focus10@zahav.net.il> wrote in message
> news:Oj1t4456FHA.1276@TK2MSFTNGP09.phx.gbl...
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com