please check inline comments,

[EMAIL PROTECTED] wrote:

Hi all:

I have a question about how to call a bat file in remote system.

After I call this bat, I can not see the result.

Bat file can not take effect.

How can I resole this problem, thanks everyone!

james_ji

2008-9-9

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE stax SYSTEM "stax.dtd">
<stax>

<!-- FREE EDITION - ONLY A SINGLE SNAPSHOT IS AVAILABLE -->

<defaultcall function="main"/>

 <function name="main" scope="local">

      <block name="'installcheck'">

        <call function="'installcheck'">

        </call>

      </block>

 </function>

<function name="installcheck">

        <stafcmd>

          <location>'STAF-JAMES'</location>

          <service>'process'</service>

<request>'start command "C:/FTPDirectory/install_check/check.bat" username "Administrator" password "11111.6" workdir "C:/installnation check/install_check" wait '</request>

>> <request>'start command "C:/FTPDirectory/install_check/check.bat" username "Administrator" password "11111.6" workdir "C:/installnation check/install_check" wait returnstderr returnstdout'</request>

        </stafcmd>

>>> <log>STAFResult</log> <!-- this steps logs your command result which is a Dictionary. you can check if it has any errors executing the command.-->

</function>

</stax>

regards,

sairam

********************************************************************************
This email message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential, proprietary and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and destroy all copies of the original message. Thank you.

Intoto Inc.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to