Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Package to create a folder at specified location

Author  Topic 

raky
Aged Yak Warrior

767 Posts

Posted - 2009-07-16 : 02:39:02

Hi,

How can i create a package to create a folder at specified location?? Please help..

rgombina
Constraint Violating Yak Guru

319 Posts

Posted - 2009-07-22 : 09:48:10
1) Use File System Task
or
2) Script Task with this

Imports System.IO

Public Class ScriptMain
Public Sub Main()
Directory.CreateDirectory("c:\mydir")
Dts.TaskResult = Dts.Results.Success
End Sub
End Class
Go to Top of Page
   

- Advertisement -