2010-03-30 4 views

답변

1

당신은이 라인을 따라 뭔가 트릭해야 스크립트 작업을 사용해야합니다 :

Dim filePath As String = "C:\YourFolder\YourFile.ext" 

    If File.Exists(filePath) = False Then 
     Dts.TaskResult = Dts.Results.Failure 
     Return 
    End If 

    Dim currentDate As Date = DateTime.Now 
    Dim fileCreateDate As Date = File.GetCreationTime(path) 

    If currentDate.ToShortDateString <> fileCreateDate.ToShortDateString Then 
     'Do something 
    End If 
0

당신이 얻을하는 오픈 소스 File Properties Task을 사용할 수 있습니다/또는 세 개의 타임 스탬프 중 어느 하나의 설정 파일에.