Hello,
I am trying to use ASPExec in conjunction with PKUnzip to unzip files into a certain directory, the following is part of my code:
Set Executor = Server.CreateObject("ASPExec.Execute"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Executor.Application = "cmd.exe"
ExecuteString = "/c C:\PKUNZIP.exe " & File.Path & " " & FolderPath
Executor.Parameters = ExecuteString
Executor.Showwindow = true
sResult = Executor.ExecuteDosApp
When i run this i get an output of:
/c C:\PKUNZIP.exe C:\Upload\file_system.zip C:\Photos\41102123409677\ PKUNZIP (R) FAST! Extract Utility Version 2.50 03-01-1999 Copr. 1989-1999 PKWARE Inc. All Rights Reserved. Shareware Version PKUNZIP Reg. U.S. Pat. and Tm. Off. þ Pentium II class CPU detected. þ XMS version 2.00 detected. þ DPMI version 0.90 detected. PKUNZIP: (E09) can't find: C:/Upload/file_system.zip
It says Can't find: C:/Upload/file_system.zip I dont understand why it cant find the file its sitting in the directory, any ideas on how to resolve this problem? Gordon R. Durgha
gd@vslink.net
I am trying to use ASPExec in conjunction with PKUnzip to unzip files into a certain directory, the following is part of my code:
Set Executor = Server.CreateObject("ASPExec.Execute"
Executor.Application = "cmd.exe"
ExecuteString = "/c C:\PKUNZIP.exe " & File.Path & " " & FolderPath
Executor.Parameters = ExecuteString
Executor.Showwindow = true
sResult = Executor.ExecuteDosApp
When i run this i get an output of:
/c C:\PKUNZIP.exe C:\Upload\file_system.zip C:\Photos\41102123409677\ PKUNZIP (R) FAST! Extract Utility Version 2.50 03-01-1999 Copr. 1989-1999 PKWARE Inc. All Rights Reserved. Shareware Version PKUNZIP Reg. U.S. Pat. and Tm. Off. þ Pentium II class CPU detected. þ XMS version 2.00 detected. þ DPMI version 0.90 detected. PKUNZIP: (E09) can't find: C:/Upload/file_system.zip
It says Can't find: C:/Upload/file_system.zip I dont understand why it cant find the file its sitting in the directory, any ideas on how to resolve this problem? Gordon R. Durgha
gd@vslink.net