• Here is the code for a script task to check for the existence of c:\temp1. If it does not exist, it is created.

    public void Main()

    {

    string folderCheck = @"c:\temp1";

    if (!System.IO.Directory.Exists(folderCheck))

    System.IO.Directory.CreateDirectory(folderCheck);

    Dts.TaskResult = (int)ScriptResults.Success;

    }

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.