<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Batch file (.bat) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804389#M782902</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How to write a batch file which &lt;BR /&gt;&lt;BR /&gt;1)opens a telnet session , &lt;BR /&gt;2)kick starts a process (shell script), which will be running in background.&lt;BR /&gt;3)disconnect telnet.&lt;BR /&gt;&lt;BR /&gt;this way i can double click the batch file to run this process.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Jun 2006 12:23:47 GMT</pubDate>
    <dc:creator>intp</dc:creator>
    <dc:date>2006-06-12T12:23:47Z</dc:date>
    <item>
      <title>Batch file (.bat)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804389#M782902</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How to write a batch file which &lt;BR /&gt;&lt;BR /&gt;1)opens a telnet session , &lt;BR /&gt;2)kick starts a process (shell script), which will be running in background.&lt;BR /&gt;3)disconnect telnet.&lt;BR /&gt;&lt;BR /&gt;this way i can double click the batch file to run this process.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2006 12:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804389#M782902</guid>
      <dc:creator>intp</dc:creator>
      <dc:date>2006-06-12T12:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file (.bat)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804390#M782903</link>
      <description>Shalom intp,&lt;BR /&gt;&lt;BR /&gt;By default .bat files are batch executables on Windows.&lt;BR /&gt;&lt;BR /&gt;They don't mean a thing to Linux or Unix.&lt;BR /&gt;&lt;BR /&gt;To find a shell script that does this, I suggest the itrc search function.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 12 Jun 2006 12:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804390#M782903</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-12T12:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file (.bat)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804391#M782904</link>
      <description>intp,&lt;BR /&gt;&lt;BR /&gt;The telnet which ships with Windows is not scriptable.  You will need a third-party tool, such as Expect:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://expect.nist.gov/#windows" target="_blank"&gt;http://expect.nist.gov/#windows&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Mon, 12 Jun 2006 12:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804391#M782904</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-12T12:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file (.bat)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804392#M782905</link>
      <description>This can be performed in a simple C program from windows as well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Mon, 12 Jun 2006 16:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804392#M782905</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2006-06-12T16:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file (.bat)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804393#M782906</link>
      <description>perhaps you are looking for a way to have a batch file on a Windows system start a process on a Unix system? If so, telnet is not required. A suite of Unix tools for windows would let you do this with an rsh (or remsh) command, or an ssh command if it needs to be more secure.&lt;BR /&gt;&lt;BR /&gt;John ( also an intp!)</description>
      <pubDate>Mon, 12 Jun 2006 16:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804393#M782906</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2006-06-12T16:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file (.bat)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804394#M782907</link>
      <description>intp,&lt;BR /&gt;&lt;BR /&gt;You could also create an account on your HP-UX box for the express purpose of running this shell script.  Reference the script in the new user's ~/.profile (use 'nohup &amp;lt;scriptname&amp;gt; &amp;amp;').  Add 'exit 0' after the reference so that the session exits after the script begins running.&lt;BR /&gt;&lt;BR /&gt;The script will run whenever the user logs in.  This way, you just need to script the client login process, without passing any commands.&lt;BR /&gt;&lt;BR /&gt;However, you will still need a third-party tool to automate the login.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Tue, 13 Jun 2006 06:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-file-bat/m-p/3804394#M782907</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-13T06:39:22Z</dc:date>
    </item>
  </channel>
</rss>

