You also will probably have to re-create any mapped drives, since they are not 
necessarily available for your process when you launch a process remotely.

        -----Original Message----- 
        From: [EMAIL PROTECTED] on behalf of Anderson, Mark (Service Delivery) 
        Sent: Wed 6/23/2004 11:04 PM 
        To: 'Lloyd, Steve'; Daniel Wilson; [EMAIL PROTECTED] 
        Cc: [EMAIL PROTECTED] 
        Subject: RE: Remote Execution, Something Simple Needed
        
        

        Try addnig the path to your PATH
        
        use Env;
        $Env{PATH}.= ...
        
        Kind regards,
        
        Mark Anderson
        SMS Deployment
        The Royal Bank of Scotland
        113 Dundas Street, Edinburgh, EH3 5DE
        http://www.manufacturing.rbs.co.uk/GTrswi/
        
        
        > -----Original Message-----
        > From: Lloyd, Steve [SMTP:[EMAIL PROTECTED]
        > Sent: Wednesday, June 23, 2004 7:08 PM
        > To:   Anderson, Mark (Service Delivery); Daniel Wilson;
        > [EMAIL PROTECTED]
        > Cc:   [EMAIL PROTECTED]
        > Subject:      RE: Remote Execution, Something Simple Needed
        >
        > *** WARNING : This message originates from the Internet ***
        >
        > I tried Win32::KillProcess and it works for notepad and calc but I am
        > unable to use CreateProcess to launch an exe on a unc path or mapped
        > drive (network share).  Any ideas?
        >
        > Steve
        >
        > -----Original Message-----
        > From: [EMAIL PROTECTED]
        > [mailto:[EMAIL PROTECTED] On Behalf Of
        > Anderson, Mark (Service Delivery)
        > Sent: Wednesday, June 23, 2004 8:03 AM
        > To: 'Daniel Wilson'; [EMAIL PROTECTED]
        > Cc: [EMAIL PROTECTED]
        > Subject: RE: Remote Execution, Something Simple Needed
        >
        >
        > Win32::KillProcess
        >
        > http://www.perlmonks.org/index.pl?node_id=336024
        >
        > Kind regards,
        >
        > Mark Anderson
        > SMS Deployment
        > The Royal Bank of Scotland
        > 113 Dundas Street, Edinburgh, EH3 5DE
        > http://www.manufacturing.rbs.co.uk/GTrswi/
        >
        >
        > > -----Original Message-----
        > > From:       Daniel Wilson [SMTP:[EMAIL PROTECTED]
        > > Sent:       Wednesday, June 23, 2004 2:59 PM
        > > To: [EMAIL PROTECTED]
        > > Cc: [EMAIL PROTECTED]
        > > Subject:    Remote Execution, Something Simple Needed
        > >
        > > *** WARNING : This message originates from the Internet ***
        > >
        > > Hello
        > >
        > > I would like to start (on demand from a perl script) a executable
        > > (exe) file on a remote computer.  Both computers are running Window
        > > XP.  I have researched into  some alternatives, like using
        > > client/server program using sockets, WMI::Service to start a service
        > > on a remote computer, etc.  I looking for something that is simple.
        > >
        > > Is there any recommendations?
        > >
        > > Dan
        > >
        > >
        > > Daniel Wilson
        > > Bayesian Edge Technology & Solutions
        > > 17260 Gum Landing Road
        > > St. Inigoes Maryland  20684
        > > (301)-872-0230 Phone
        > > (301)-872-0233 Fax
        > > www.bayesianedge.com <http://www.bayesianedge.com/>  << File:
        > > ATT421581.txt >>
        >
        >
        > The Royal Bank of Scotland plc, Registered in Scotland No. 90312.
        > Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
        >
        > The Royal Bank of Scotland plc is authorised and regulated by the
        > Financial Services Authority and represents The Royal Bank of Scotland
        > Marketing Group. The Bank sells life policies, collective investment
        > schemes and pension products and advises only on the Marketing Group's
        > range of these products and on a With-Profit Bond produced by Norwich
        > Union Life (RBS) Limited.
        >
        > This e-mail message is confidential and for use by the addressee only.
        > If the message is received by anyone other than the addressee, please
        > return the message to the sender by replying to it and then delete the
        > message from your computer. Internet e-mails are not necessarily secure.
        > The Royal Bank of Scotland plc does not accept responsibility for
        > changes made to this message after it was sent.
        >
        > Whilst all reasonable care has been taken to avoid the transmission of
        > viruses, it is the responsibility of the recipient to ensure that the
        > onward transmission, opening or use of this message and any attachments
        > will not adversely affect its systems or data. No responsibility is
        > accepted by The Royal Bank of Scotland plc in this regard and the
        > recipient should carry out such virus and other checks as it considers
        > appropriate.
        >
        > _______________________________________________
        > Perl-Win32-Admin mailing list [EMAIL PROTECTED]
        > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
        
        
        The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB
        
        The Royal Bank of Scotland plc is authorised and regulated by the Financial 
Services Authority and represents The Royal Bank of Scotland Marketing Group. The Bank 
sells life policies, collective investment schemes and pension products and advises 
only on the Marketing Group's range of these products and on a With-Profit Bond 
produced by Norwich Union Life (RBS) Limited.
        
        This e-mail message is confidential and for use by the addressee only. If the 
message is received by anyone other than the addressee, please return the message to 
the sender by replying to it and then delete the message from your computer. Internet 
e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept 
responsibility for changes made to this message after it was sent.
        
        Whilst all reasonable care has been taken to avoid the transmission of 
viruses, it is the responsibility of the recipient to ensure that the onward 
transmission, opening or use of this message and any attachments will not adversely 
affect its systems or data. No responsibility is accepted by The Royal Bank of 
Scotland plc in this regard and the recipient should carry out such virus and other 
checks as it considers appropriate.
        
        _______________________________________________
        Perl-Win32-Admin mailing list
        [EMAIL PROTECTED]
        To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
        


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to