Affirmative i have just tested the command object and this construct works :

extract from DELPHI 

 mycommand := famissession.Command as unicommand;
 mycommand.text :=  'SH -c "ls /tmp"';
 mycommand.exec;
 listbox1.Items.Text := mycommand.Response;

listbox1 now contains a listing of my home directory on our linux box


Claus Derlien
edb-afdelingen
direkte : 63 13 86 69
email   : [EMAIL PROTECTED]

> -----Original Message-----
> From: Claus Derlien [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 29, 2004 11:11 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [U2] UniObjects -> hpux -> unix command??
> 
> 
> can't you use the command object and send the command "SH -c 'userdel
> userid'" or something alike ??
> 
> otherwise you can always make a BASIC subroutine to do the 
> work and then
> call that routine from uniobjects
> 
> Claus Derlien
> edb-afdelingen
> direkte : 63 13 86 69
> email   : [EMAIL PROTECTED]
> 
> > -----Original Message-----
> > From: Donald Kibbey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 28, 2004 9:49 PM
> > To: [EMAIL PROTECTED]
> > Subject: [U2] UniObjects -> hpux -> unix command??
> > 
> > 
> > Is it possible to execute a unix command directly from within 
> > UniObjects?  Something like "userdel userid"?
> > 
> > Thanks,
> > 
> > 
> > 
> > Don Kibbey
> > Financial Systems Manager
> > Finnegan, Henderson, Farabow, Garrett & Dunner LLP
> > -------
> > u2-users mailing list
> > [EMAIL PROTECTED]
> > To unsubscribe please visit http://listserver.u2ug.org/
> > 
> > **************************************************************
> > ************** 
> > Denne mail er blevet scannet af http://www.virus112.com 
> > **************************************************************
> > **************
> > 
> 
> 
> Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse 
> - www.f-f.dk
> 
> **************************************************************
> **************************************************************
> ***********
> Denne email og alle filer vedlagt som bilag kan indeholde 
> fortroligt materiale, der kun er beregnet for adressaten,
> og maa ikke udleveres eller kopieres til uvedkommende. Har De 
> ved en fejltagelse modtaget denne email, bedes
> De venligst omgaaende meddele os dette pr. telefon : 6313 
> 8550. Paa forhaand tak.
> **************************************************************
> **************************************************************
> ***********
> This email and any files transmitted with it may contain 
> confidential information intended for the addressee(s) only.
> The information is not to be surrendered or copied to 
> unauthorised persons. If you have received this
> communication in error, please notify us immediately by 
> telephone: +45 6313 8550. Thank you.
> **************************************************************
> **************************************************************
> ***********
> -------
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> **************************************************************
> ************** 
> Denne mail er blevet scannet af http://www.virus112.com 
> **************************************************************
> **************
> 


Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse - www.f-f.dk

***************************************************************************************************************************************
Denne email og alle filer vedlagt som bilag kan indeholde fortroligt materiale, der 
kun er beregnet for adressaten,
og maa ikke udleveres eller kopieres til uvedkommende. Har De ved en fejltagelse 
modtaget denne email, bedes
De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa forhaand tak.
***************************************************************************************************************************************
This email and any files transmitted with it may contain confidential information 
intended for the addressee(s) only.
The information is not to be surrendered or copied to unauthorised persons. If you 
have received this
communication in error, please notify us immediately by telephone: +45 6313 8550. 
Thank you.
***************************************************************************************************************************************
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to