Click here to Skip to main content
15,923,557 members
Home / Discussions / Web Development
   

Web Development

 
GeneralAbusing JavaScript Pin
Logdar28-Jun-03 3:37
sussLogdar28-Jun-03 3:37 
GeneralRe: Abusing JavaScript Pin
Bjoern Graf28-Jun-03 5:10
Bjoern Graf28-Jun-03 5:10 
GeneralRe: Abusing JavaScript Pin
Logdar28-Jun-03 13:23
sussLogdar28-Jun-03 13:23 
Generalsetting up restriction Pin
makson27-Jun-03 13:19
makson27-Jun-03 13:19 
GeneralThe Hand Cursor in IE5.0 Pin
Zibar27-Jun-03 10:38
sussZibar27-Jun-03 10:38 
GeneralRe: The Hand Cursor in IE5.0 Pin
Bjoern Graf27-Jun-03 19:14
Bjoern Graf27-Jun-03 19:14 
GeneralRe: The Hand Cursor in IE5.0 Pin
Zibar127-Jun-03 21:48
sussZibar127-Jun-03 21:48 
GeneralRunning an Application from VBSscript Pin
KraigS27-Jun-03 6:41
KraigS27-Jun-03 6:41 
Hello,

I 'm trying to run a program from within an asp page, wzzip (WinZip's command line add on). If I run "c:\program files\winzip\wzzip.exe" -r -p -e0 c:\inetpub\wwwroot\temp\temp4.zip c:\inetpub\wwwroot\temp\*.txt, from a batch file, it works fine, the zip file is created. I figure out I had to put the quotes around the path to the .exe or I get an error that c:\program is not a valid command.

But running the following from an ASP page (VB Script), the code runs, but no file is created. If I use line 3, which is all that is in the batch file "zipem.bat", I get an rror code related to a file not found. If I use that in a .vbs file, I get the file not found error, plus it shows the batch file name as the culprit, but I am not even referencing it!! Using line 4, the ASP script runs, but no zip file is created.

Can you help? Am I even doing this right?


1) Dim wshShell

2) set WshShell = Server.CreateObject("wscript.shell")

3) 'WshShell.Run """c:\program files\winzip\wzzip.exe"" -r -p -e0 c:\inetpub\wwwroot\temp\temp4.zip c:\inetpub\wwwroot\temp\*.txt"

4) WshShell.Run "c:\inetpub\wwwroot\temp\zipem.bat"

5) Set wshShell=Nothing



Kraig




Kraig Schuneman
GeneralSystem resource exceeded error ('800700e') Pin
Chris LaQuerre26-Jun-03 4:26
Chris LaQuerre26-Jun-03 4:26 
GeneralRe: System resource exceeded error ('800700e') Pin
Nino_126-Jun-03 4:41
Nino_126-Jun-03 4:41 
Generalhopefully simple IE control question Pin
MikeBeard26-Jun-03 3:45
MikeBeard26-Jun-03 3:45 
GeneralRe: hopefully simple IE control question Pin
hkulten26-Jun-03 4:24
hkulten26-Jun-03 4:24 
GeneralRe: hopefully simple IE control question Pin
MikeBeard26-Jun-03 8:09
MikeBeard26-Jun-03 8:09 
GeneralMS Office extenions w/ ASP.NET Pin
Nino_125-Jun-03 19:19
Nino_125-Jun-03 19:19 
GeneralRe: MS Office extenions w/ ASP.NET Pin
basementman26-Jun-03 4:03
basementman26-Jun-03 4:03 
GeneralRe: MS Office extenions w/ ASP.NET Pin
SimonS27-Jun-03 20:35
SimonS27-Jun-03 20:35 
Generalget name? print name ! Pin
seccondbest24-Jun-03 11:00
seccondbest24-Jun-03 11:00 
GeneralRe: get name? print name ! Pin
John Kuhn24-Jun-03 11:11
John Kuhn24-Jun-03 11:11 
GeneralExam questions Pin
boro1224-Jun-03 6:56
boro1224-Jun-03 6:56 
GeneralRe: Exam questions Pin
-- NA --24-Jun-03 7:32
-- NA --24-Jun-03 7:32 
GeneralRe: Exam questions Pin
SimonS27-Jun-03 20:38
SimonS27-Jun-03 20:38 
GeneralRe: Exam questions Pin
theJazzyBrain25-Jun-03 3:58
theJazzyBrain25-Jun-03 3:58 
General<select> with onchanging Pin
jerry0davis24-Jun-03 5:33
jerry0davis24-Jun-03 5:33 
GeneralRe: <select> with onchanging Pin
basementman24-Jun-03 7:17
basementman24-Jun-03 7:17 
GeneralRe: <select> with onchanging Pin
jerry0davis24-Jun-03 21:55
jerry0davis24-Jun-03 21:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.