General information
Category:
Coding, syntax & commands
Title:
Execute remote command in Unix
Environment versions
Network:
Windows 2003 Server
Hi all.
I need to execute a remote command in Unix from a VFP application. It must be unattendent execution.
I first thought to run REXEC command, but it seems to ALWAYS ask for the user password. I didn't find the way to send the user password by parameter. The syntax is REXEC host -l username command.
I tried to do it with a batch file but I don't know how to simulate the user input when it asks for the password. (Tried Key-fake and Stuffit).
Maybe there's some VFP Code that uses windows APIs to do this task.... ?
Any help or link where I can find any clue is appreciated!!
Thanks
Fabian
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only