<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Remote Shell call</title><link>https://www.infopathdev.com:443/forums/thread/6683.aspx</link><pubDate>Mon, 18 Apr 2005 19:54:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6683</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6683</wfw:commentRss><description>Thanks for updating us on how you solved the issue.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Remote Shell call</title><link>https://www.infopathdev.com:443/forums/thread/6682.aspx</link><pubDate>Tue, 12 Apr 2005 14:44:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6682</guid><dc:creator>Lee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6682</wfw:commentRss><description>OK, i have finally managed to find out how to do this...&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;var Shell = new ActiveXObject("WScript.shell");&lt;br /&gt;var strCMD = "&lt;i&gt;put your command here&lt;/i&gt;";&lt;br /&gt;		&lt;br /&gt;var oExec = Shell.Exec(strCMD);&lt;br /&gt;var oExecOut = oExec.StdOut;&lt;br /&gt;&lt;br /&gt;var input = "";&lt;br /&gt;input = oExecOut.ReadAll();&lt;/pre&gt;&lt;br /&gt;in the end it turned out to be quite simple... i just didn't understand WScript very well... i do now!&lt;br /&gt;&lt;br /&gt;Lee A Newson</description></item><item><title>Re: Remote Shell call</title><link>https://www.infopathdev.com:443/forums/thread/6681.aspx</link><pubDate>Mon, 11 Apr 2005 15:29:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6681</guid><dc:creator>Lee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6681</wfw:commentRss><description>OK, so i have managed to figure out how to run the script and command i need, however now i have a bigger problem and i am really stuck on this.&lt;br /&gt;&lt;br /&gt;the code i used to run the script was this:&lt;br /&gt;&lt;br /&gt;var Shell = new ActiveXObject("WScript.shell");&lt;br /&gt;var strCMD = "rsh &lt;i&gt;machine name&lt;/i&gt; -l &lt;i&gt;username&lt;/i&gt; java -cp c:\\jdk1.3\\bin GenXMLT \"where bug_id = " + eventObj.NewValue + "\"";&lt;br /&gt;Shell.Run(strCMD);&lt;br /&gt;&lt;br /&gt;when this is run a line is returned and displayed in the command window... how can i get that line and put it in the form???&lt;br /&gt;&lt;br /&gt;i tried copying the function into Visual Studio so that i could see all the properties etc of "Shell", but there doesn't seem to be anything that can read the returned data.&lt;br /&gt;&lt;br /&gt;Cheers for any help&lt;br /&gt;&lt;br /&gt;Lee&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lee A Newson</description></item><item><title>Remote Shell call</title><link>https://www.infopathdev.com:443/forums/thread/4618.aspx</link><pubDate>Mon, 11 Apr 2005 12:28:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4618</guid><dc:creator>Lee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4618.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4618</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have been searching for a while now on how to make remote shell calls from JScript.&lt;br /&gt;&lt;br /&gt;For the form i am creating at the moment i have an inhouse system that i need to obtain information from, the problem is the only way in is by using a remote shell call.&lt;br /&gt;&lt;br /&gt;Does anyone know how to do this in JScript.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;Lee&lt;br /&gt;&lt;br /&gt;Lee A Newson</description></item></channel></rss>