Just separate your shell commands with semi-colons
eg
PCPERFORM "cd /;pwd"

Wally Terhune
U2 Support Architect
IBM Information Management
4700 South Syracuse Street, Denver, CO   80237
Tel:  303.773.7969
Fax: 303.773.5915
[EMAIL PROTECTED]


----- Forwarded by Wally Terhune/Denver/IBM on 03/13/2006 02:03 PM -----

             "Kevin King"
             <[EMAIL PROTECTED]
             ne.com>                                                    To
             Sent by:                  <[email protected]>
             [EMAIL PROTECTED]                                          cc
             stserver.u2ug.org
                                                                   Subject
                                       [U2] Running a command from / via
             03/13/2006 01:40          PCPERFORM
             PM


             Please respond to
             <[EMAIL PROTECTED]
                  ne.com>






I am trying to PCPERFORM an OS-level command that has to be run from
the root directory.  Other than creating a shell script and executing
that script, is there a way to structure the commands following
PCPERFORM to allow a cd to the root directory and then run the
command?  More importantly, is there a platform independent way of
doing it so that I don't have to have customizations for Windows vs.
*nix?

Believe me, if there was a way to do this without having to be at the
root, that would be preferable, but this program just happens to
require the current working directory to be the root before the
command is executed.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic09152.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
ecblank.gif]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to