How to create a file system directory in a SQL Server 2005 call/query How to create a file system directory in a SQL Server 2005 call/query sql sql

How to create a file system directory in a SQL Server 2005 call/query


Try

declare @Path varchar(100)set @Path = 'c:\CreatedFromSQL'EXEC master.dbo.xp_create_subdir @Path

Sourced from http://www.mssqltips.com/tip.asp?tip=1460