<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'How Do I Execute Shelll Commands ?' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'How Do I Execute Shelll Commands ?' posted on the 'Active Server Pages' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 18 May 2013 07:46:28 -0700</pubDate>
    <lastBuildDate>Sat, 18 May 2013 07:46:28 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>How Do I Execute Shelll Commands ?</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/231906/231906/how-do-i-execute-shelll-commands-/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I want to execute shell commands(OS commands) from withing JAVASCRIPT, VBSCRIPT, ASP, JSP OR ANY OF THE CLIENT / SERVER SIDE SCRIPTS, is it possible. &lt;br /&gt;
&lt;br /&gt;
For example in VB we can use :&lt;br /&gt;
&lt;br /&gt;
Private Sub Command1_Click()&lt;br /&gt;
   Shell "c:\winnt\notepad"&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to execute notepad, likewise I want to do in any of the client/server scripts, is it possible.&lt;br /&gt;
&lt;br /&gt;
thanking you.&lt;br /&gt;
&lt;br /&gt;
- srinivasan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/231906/231906/how-do-i-execute-shelll-commands-/</guid>
      <pubDate>Tue, 16 Dec 2003 22:07:47 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: How Do I Execute Shelll Commands ?</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/231906/231961/re-how-do-i-execute-shelll-commands-/#231961</link>
      <description>Javascript itself cannot make system calls but if you're running a Windows system, you can insert Windows Script Host in javascript. If you don't like to use WSH use new ActiveXObject(Shell.Application) but there may be some security problems running it properly. (eg. user's broswer's security settings) &lt;br /&gt;
&lt;br /&gt;
function runApp() { &lt;br /&gt;
var shell = new ActiveXObject("WScript.shell"); &lt;br /&gt;
shell.run("notepad.exe"); &lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;input type="button" name="button1" value="Run Notepad" onClick="runApp()" /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: Hello,&lt;br /&gt;
: &lt;br /&gt;
: I want to execute shell commands(OS commands) from withing JAVASCRIPT, VBSCRIPT, ASP, JSP OR ANY OF THE CLIENT / SERVER SIDE SCRIPTS, is it possible. &lt;br /&gt;
: &lt;br /&gt;
: For example in VB we can use :&lt;br /&gt;
: &lt;br /&gt;
: Private Sub Command1_Click()&lt;br /&gt;
:    Shell "c:\winnt\notepad"&lt;br /&gt;
: End Sub&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: to execute notepad, likewise I want to do in any of the client/server scripts, is it possible.&lt;br /&gt;
: &lt;br /&gt;
: thanking you.&lt;br /&gt;
: &lt;br /&gt;
: - srinivasan.&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;&lt;span style="color: Grey;"&gt;To err is human, but to really foul things up requires a computer. (Farmers Almanac)&lt;/span&gt; &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/231906/231961/re-how-do-i-execute-shelll-commands-/#231961</guid>
      <pubDate>Wed, 17 Dec 2003 04:51:04 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
  </channel>
</rss>