Hi All,

        I have a batch script which sets some environment variables; for
example,

        == test.bat ======
        rem Steps to execute tests
        .
        .
        .
        .
        set RES_DIR=%TRDIR%\%OS%\%JAVA_VERSION%
        =========================================

        Using STAF Java APIs to execute the batch file:
        STAFResult result = handle.submit2(ip,"PROCESS", "START SHELL
COMMAND C:\\test.bat WAIT" );

        Is there a way that I can retrieve variable RES_DIR to my Java
program?

        Any help appreciated.
        
Many thanks,
Saneesh Joseph


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to