Hello,
I was trying to unzip a file in a dts with the following code:
Function Main()
strFTPDir = "c:\zip_source"
strFileNameBase = "TEST"
strPublishDir = "c:\zip_destination"
Set WshShell = CreateObject("WScript.Shell")
strUnzip = "c:\pkunzip.exe -e " & strFTPDir & "\" & strFileNameBase & ".zip " & strPublishDir
WshShell.Run strUnZip,1,true
Set WshShell = nothing
Main = DTSTaskExecResult_Success
End Function
The problem is in the line:
WshShell.Run strUnZip,1,true
Can you help me?
Thanks
I was trying to unzip a file in a dts with the following code:
Function Main()
strFTPDir = "c:\zip_source"
strFileNameBase = "TEST"
strPublishDir = "c:\zip_destination"
Set WshShell = CreateObject("WScript.Shell")
strUnzip = "c:\pkunzip.exe -e " & strFTPDir & "\" & strFileNameBase & ".zip " & strPublishDir
WshShell.Run strUnZip,1,true
Set WshShell = nothing
Main = DTSTaskExecResult_Success
End Function
The problem is in the line:
WshShell.Run strUnZip,1,true
Can you help me?
Thanks