Hi,
     <script>
       to = 'D:/vmware.log'
       </script>

        <script>
        interpreter = 'C:/WINDOWS/system32/cmd '
        </script>

        <script>
       frm = 'E:/vmvijita.log'
       </script>

<process name="'execute file'">
        <location>'local'</location>
        <command>interpreter</command>
        <parms>'del %s' % (frm)</parms> <!--
C:/STG-Pun/FixedFiles/BATScript/Bat.pl -->
          <stdout>'E:/out.txt'</stdout>
        <stderr mode="'stdout'"/>
        <returnstdout/>
      </process>

this script is giving me error that syntax of the command is incorrect.

do you have any idea bout this?

Thanks.

On Tue, Oct 14, 2008 at 5:58 PM, Techno Scavenger <
[EMAIL PROTECTED]> wrote:

> You have to use something like:
> cmd.exe /c "mv sourfile destination file"
>
> On Tue, Oct 14, 2008 at 1:22 PM, Vijita <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> I want to execute internal commands like move, cd, mkdir etc. on client
>> machine with STAF.
>>
>> When I tried to use <process>  <parms> these tags, this can execute batch
>> file or any file with process defined as to invoke interpreter and filename
>> passed as parameter to process. But i is unable to execute move command when
>> I gave move command in <process> tag and filename in <parms> tag.
>> It gave me error that move file not found. I tried this on Windows XP
>> where I think move , cd etc.these commands are implemented in the
>> interpreter itself.
>>
>> Can anybody please suggest me how to work it out?
>>
>> Thanks.
>> Vijita.
>>
>> -------------------------------------------------------------------------
>> 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
>>
>>
>
-------------------------------------------------------------------------
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