Public Function zipFile(ByVal zipName As String, ByVal fileName As String, Optional ByVal containPath As Boolean = False) As Boolean
If (Not IO.File.Exists(fileName)) Then
MsgBox(fileName & " Don't Exist!!!")
Return False
End If
Try
Dim tmpCmd As String = getCmd()
Dim tmpInfo As String
If Not containPath Then
tmpInfo = " a -ep " & zipName & " " & fileName
Else
tmpInfo = " a " & zipName & " " & fileName
End If