Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > My Script to run a Command-Line from ASP does not work.

Reply
Thread Tools

My Script to run a Command-Line from ASP does not work.

 
 
Lucas Cowald
Guest
Posts: n/a
 
      10-23-2003
Hi,
My Script to run a Command-Line from ASP does not work. No errors are
returned either.
It is on IIS. The directory where the script exists is on Drive I:, The
executable .exe is on Drive D:
Do you see any problems with the script below? Can you help me modify it?

<%
Dim objWSS
Const cCMD = "clw45.exe -i k:\o\1.wmv -o k:\o\2.ghh -w 128 -df 0 -m
2 -p"
Set objWSS = CreateObject("WScript.Shell")
objWSS.CurrentDirectory = "D:\Program Files\Program\The Program\"
objWSS.Run "%COMSPEC% /c " & cCMD,,True
%>

Thank you very much for your help.
Lucas


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Script to run a Command-Line from ASP does not work. Lucas Cowald ASP .Net Building Controls 1 10-23-2003 08:01 PM
My Script to run a Command-Line from ASP does not work Lucas Cowald ASP .Net Web Controls 1 10-23-2003 01:18 PM
My Script to run a Command-Line from ASP does not work Lucas Cowald ASP .Net Web Services 0 10-23-2003 06:46 AM
My Script to run a Command-Line from ASP does not work. Lucas Cowald ASP .Net Datagrid Control 0 10-23-2003 06:44 AM
My Script to run a Command-Line from ASP does not work Lucas Cowald ASP .Net 0 10-23-2003 06:42 AM



Advertisments