473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to run a command shell from an asp.net page

MMA
Hi

How to run a command shell from an asp.net page. Research has shown that I
may use a either ASPEXEC or WSrcipt.Shell , is one better than the other, and
is there any other way of doing this besides mentioned above.

Thanks in advance.
Aug 9 '06 #1
3 1613
try using process.start

Regards

John Timney (MVP)
"MMA" <MM*@discussions.microsoft.comwrote in message
news:4F**********************************@microsof t.com...
Hi

How to run a command shell from an asp.net page. Research has shown that I
may use a either ASPEXEC or WSrcipt.Shell , is one better than the other,
and
is there any other way of doing this besides mentioned above.

Thanks in advance.

Aug 9 '06 #2
MMA
Hi John,

tried that but it did not do what I wanted. Ergo tried to run a batch file
using process.Start(), batch file did not output what it was suppose to.
Tried to mimic the same functionality with an exe recieved an exception
stating that access denied. Any suggestions.

Thanks in advance

"John Timney (MVP)" wrote:
try using process.start

Regards

John Timney (MVP)
"MMA" <MM*@discussions.microsoft.comwrote in message
news:4F**********************************@microsof t.com...
Hi

How to run a command shell from an asp.net page. Research has shown that I
may use a either ASPEXEC or WSrcipt.Shell , is one better than the other,
and
is there any other way of doing this besides mentioned above.

Thanks in advance.


Aug 9 '06 #3
Almost all problems in asp.net with process.start stem from permissions and
an inability to run applications that need a desktop to run on. This might
give you an insight into whats up with yours:
http://support.microsoft.com/default...b;en-us;555134
--
Regards

John Timney (MVP)

"MMA" <MM*@discussions.microsoft.comwrote in message
news:8E**********************************@microsof t.com...
Hi John,

tried that but it did not do what I wanted. Ergo tried to run a batch file
using process.Start(), batch file did not output what it was suppose to.
Tried to mimic the same functionality with an exe recieved an exception
stating that access denied. Any suggestions.

Thanks in advance

"John Timney (MVP)" wrote:
>try using process.start

Regards

John Timney (MVP)
"MMA" <MM*@discussions.microsoft.comwrote in message
news:4F**********************************@microso ft.com...
Hi

How to run a command shell from an asp.net page. Research has shown
that I
may use a either ASPEXEC or WSrcipt.Shell , is one better than the
other,
and
is there any other way of doing this besides mentioned above.

Thanks in advance.



Aug 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Brad Pears | last post by:
Can someone give me some sample code on how one would go about executing a command line "command" from within an ASP form? We need to run an application called GnuPG which allows us to encrypt an...
8
by: Siemel Naran | last post by:
Hi. I'm writing a command shell that reads commands from standard input. At this point I have the command in a std::string. Now I want to execute this command in the shell. From the Borland...
4
by: lkrubner | last post by:
I'd like to write a PHP script to be used from the command line on a Unix machine. I'd like for the script to put together a string, turn it into a web page, print it, then return control the...
10
by: Siemel Naran | last post by:
Hi. I'm writing a command shell that reads commands from standard input. At this point I have the command in a std::string. Now I want to execute this command in the shell. From the Borland...
6
by: Lucas Cowald | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.