Running windows command from Unix

Hi,

Is there any way to invoke a Windows command from Unix ??

For eg: I want to track down a user executing a script and want to send him a message through net send in windows ..

I am able to get the user machines ip ... and since I want my message to be popped up in users screen, wud like to invoke windows net send from shell script .... Is there any way to do this ??

Please help ...

Thanks in advance,

SNS

As long as you're using SAMBA

smbclient -M ip_address

Then you can type your message and terminate with Ctrl-D (like wall).

Cheers
ZB

Hi,

But we dont have SAMBA in our system and so no way to use smbclient ... any other way around ?? Any help appreciated ....

Also my humble aplologies for my duplicate post ....

Thanks,

SNS

what's u have ??

  • Unix
  • What's mapping u use ????
  • Windows

Remote shells or client application code that perhaps polls the Unix server for messages / events.