Hi,
I need to RUN/execute a Command-Line command from an ASP page.
This is the command:
sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I need to
run it from an ASP/VBscript?
Thank you very much for your help! 6 2492
Hi,
Have you tried "Shell" function (VB.NET)?
Public Function Shell( _
ByVal Pathname As String, _
Optional ByVal Style As AppWinStyle = AppWinStyle.MinimizedFocus, _
Optional ByVal Wait As Boolean = False, _
Optional ByVal Timeout As Integer = -1 _
) As Integer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Lucas Cowald" <no****@nospamthanks.com> wrote in message
news:FK********************@comcast.com... Hi, I need to RUN/execute a Command-Line command from an ASP page.
This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I need to run it from an ASP/VBscript?
Thank you very much for your help!
Hi,
Have you tried "Shell" function (VB.NET)?
Public Function Shell( _
ByVal Pathname As String, _
Optional ByVal Style As AppWinStyle = AppWinStyle.MinimizedFocus, _
Optional ByVal Wait As Boolean = False, _
Optional ByVal Timeout As Integer = -1 _
) As Integer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Lucas Cowald" <no****@nospamthanks.com> wrote in message
news:FK********************@comcast.com... Hi, I need to RUN/execute a Command-Line command from an ASP page.
This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I need to run it from an ASP/VBscript?
Thank you very much for your help!
Hi,
Do you know how to do it in ASP/VBscript? I haven't learned .NET, yet.
Thanks,
Lucas
"Tohid" <To********@hotmail.com> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl... Hi,
Have you tried "Shell" function (VB.NET)?
Public Function Shell( _ ByVal Pathname As String, _ Optional ByVal Style As AppWinStyle = AppWinStyle.MinimizedFocus, _ Optional ByVal Wait As Boolean = False, _ Optional ByVal Timeout As Integer = -1 _ ) As Integer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- "Lucas Cowald" <no****@nospamthanks.com> wrote in message news:FK********************@comcast.com... Hi, I need to RUN/execute a Command-Line command from an ASP page.
This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I need
to run it from an ASP/VBscript?
Thank you very much for your help!
Hi,
Do you know how to do it in ASP/VBscript? I haven't learned .NET, yet.
Thanks,
Lucas
"Tohid" <To********@hotmail.com> wrote in message
news:Or*************@TK2MSFTNGP11.phx.gbl... Hi,
Have you tried "Shell" function (VB.NET)?
Public Function Shell( _ ByVal Pathname As String, _ Optional ByVal Style As AppWinStyle = AppWinStyle.MinimizedFocus, _ Optional ByVal Wait As Boolean = False, _ Optional ByVal Timeout As Integer = -1 _ ) As Integer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- "Lucas Cowald" <no****@nospamthanks.com> wrote in message news:FK********************@comcast.com... Hi, I need to RUN/execute a Command-Line command from an ASP page.
This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I need
to run it from an ASP/VBscript?
Thank you very much for your help!
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
"Lucas Cowald" <no****@nospamthanks.com> wrote in message
news:ap********************@comcast.com... Hi, Do you know how to do it in ASP/VBscript? I haven't learned .NET, yet. Thanks, Lucas
"Tohid" <To********@hotmail.com> wrote in message news:Or*************@TK2MSFTNGP11.phx.gbl... Hi,
Have you tried "Shell" function (VB.NET)?
Public Function Shell( _ ByVal Pathname As String, _ Optional ByVal Style As AppWinStyle = AppWinStyle.MinimizedFocus, _ Optional ByVal Wait As Boolean = False, _ Optional ByVal Timeout As Integer = -1 _ ) As Integer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- "Lucas Cowald" <no****@nospamthanks.com> wrote in message news:FK********************@comcast.com... Hi, I need to RUN/execute a Command-Line command from an ASP page.
This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I
need to run it from an ASP/VBscript?
Thank you very much for your help!
No idae about classic asp! upgrade to .net now! :)
"Lucas Cowald" <no****@nospamthanks.com> wrote in message
news:ap********************@comcast.com... Hi, Do you know how to do it in ASP/VBscript? I haven't learned .NET, yet. Thanks, Lucas
"Tohid" <To********@hotmail.com> wrote in message news:Or*************@TK2MSFTNGP11.phx.gbl... Hi,
Have you tried "Shell" function (VB.NET)?
Public Function Shell( _ ByVal Pathname As String, _ Optional ByVal Style As AppWinStyle = AppWinStyle.MinimizedFocus, _ Optional ByVal Wait As Boolean = False, _ Optional ByVal Timeout As Integer = -1 _ ) As Integer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- "Lucas Cowald" <no****@nospamthanks.com> wrote in message news:FK********************@comcast.com... Hi, I need to RUN/execute a Command-Line command from an ASP page.
This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2 -p
Can you show me a code how to run this command from an ASP page? I
need to run it from an ASP/VBscript?
Thank you very much for your help!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jason |
last post by:
How does one pass a parameter to the EXEC query recordset:
set rs = cnn.execute("EXEC tblListings_qry2")
|
by: Jill Graham |
last post by:
Hi,
I'm using an access database and found following problem :
I have a table X with 2 records : record 1 & record 2. I execute following
procedure with 2 steps :
1. The procedure deletes...
|
by: PiGei |
last post by:
hi all,
I'm trying to use server.execute statement to include in an asp page
another asp page with a parameter.
That's because I've a parametric query in the second asp page and I have
to pass...
|
by: PyPK |
last post by:
Hi if I have a function called
tmp=0
def execute():
tmp = tmp+1
return tmp
also I have
def func1():
execute()
....
|
by: Lyle Fairfield |
last post by:
MS-SQL Server utilities Enterprise Manager and Query Analyzer will model
almost any MS-SQL object as a simple script file with a default ".sql"
extension.
But how to "run these files? They are...
| |
by: johnlichtenstein |
last post by:
I am using cx_Oracle and MySQLdb to pull a lot of data from some tables
and I find that the cursor.execute method uses a lot of memory that
never gets garbage collected. Using fetchmany instead of...
|
by: gglegrp112 |
last post by:
Is it possible to send an array as a parameter for an execute method in
dbapi2 module?
I'm using adodbapi and try to perfrom the following SQL query:
select * from item where storeid in ('01',...
|
by: fungazid |
last post by:
Help help help please
I’m using DBD::mysql, and I want to insert a record into clients table (id, address, and phone-number of a client):
my $str= “?,?,?,,,”;
my...
|
by: RAG2007 |
last post by:
I'm using the QueryDef and Execute method to update a record in my MySQL backend.
Problem: When the Passthrough update query is defined using QueryDef, it becomes a select query, and I cannot use...
|
by: ChaosKCW |
last post by:
Hi
I am trying to use pymssql, and have an issue where by the execute
(not the fetch) is appearing to load all records into memory.
if I execute
con = pymssql.connect(...)
cur =...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |