05-25-2006
I meant, if I had such a batch file, I could run all the compilation process by clicking one button in UltraEdit.
That's actually why I want to work on Windows, because of the possbilities of UltraEdit, I've never seen any other code editor that would be so convenient.
I was advised today of using rexec, but as I see, at our servers -p is disabled, probably for security reasons, so maybe there is another option? Maybe somehting they haven't thought of... :)
Thank you for trying to help,
Olga.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI,
I have one java program in windows OS. From that java program, I want to run the shell script file in the UNIX OS. Is it possible ??If yes, please post me the source code, how to do that ??
Thanks,
Srinivas (3 Replies)
Discussion started by: srinivas peyyal
3 Replies
2. Linux
Hi all,
I want to know possible ways to exceute the shell scripts on Windows environment.
Please help me.
Regards,
Uday. (2 Replies)
Discussion started by: uday123
2 Replies
3. UNIX for Advanced & Expert Users
Hi
Can anyone tell if it is possible to connect from Unix to t a remote windows environment and run a .bat script.
Do SSH/SFTP... serve my purpose..if s how....
if not which commands or scripts will help with my requiremnt.
points on this are greatly honoured.
Thanks in advance.
:) (1 Reply)
Discussion started by: lakshmis10
1 Replies
4. Windows & DOS: Issues & Discussions
I just installed Windows Services for Unix. I want to create a ksh program and schedule it using the Windows scheduler. How would I go about doing it?
What would the command line look like?
Do I always have to be in a ksh shell to run the batch program even if it is not scheduled?
... (3 Replies)
Discussion started by: rbdenham
3 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
Like in windows OS we have in unix something called "jobs"-term me if i am wrong- to run a sequence of steps which we can exceute at our own will without scheduling like corntab scheduling. can any one tell me what is the structure of this file and provide me with some info with this... (5 Replies)
Discussion started by: aixjadoo
5 Replies
6. Shell Programming and Scripting
Hi everyone, let me get straight to the points.
My manager wants to execute a remote batch file (on a Windows server) from a UNIX Machine, does anyone know if this is possible and what packages would be needed?
Thanks
p.s. Sorry i cant give OS specifics, we use most UNIX's; AIX, Solaris,... (5 Replies)
Discussion started by: flip387
5 Replies
7. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
8. Shell Programming and Scripting
I wish to create a folder on a unix server B from my windows box using windows batch script.
Below is my windows batch script.
@ ECHO OFF
::Enter your Directory name:
echo Enter your Directory name:
set /p mydir=
plink user1@ServerA
mkdir %mydir%
At plink command i get logged... (7 Replies)
Discussion started by: mohtashims
7 Replies
9. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
10. Shell Programming and Scripting
Hi All,
I need to write Unix shell script. To star with : I need to do some file checking on unix file system, then based on file existance, I need to run diff SQL in Teradata Bteq. After that, depending on Results of SQL, I need to code other shell scripting like moving file, within same... (4 Replies)
Discussion started by: Shilpi Gupta
4 Replies
rexec(3x) rexec(3x)
Name
rexec - return stream to a remote command
Syntax
rem = rexec(ahost, inport, user, passwd, cmd, fd2p);
char **ahost;
u_short inport;
char *user, *passwd, *cmd;
int *fd2p;
Description
The subroutine looks up the host *ahost using returning -1 if the host does not exist. For further information, see Otherwise *ahost is
set to the standard name of the host. If a username and password are both specified, then these are used to authenticate to the foreign
host. If all this fails, the user is prompted for the information.
The port inport specifies which well-known DARPA Internet port to use for the connection; it will normally be the value returned from the
call ``getservbyname("exec", "tcp")''. For further information, see The protocol for connection is described in detail in
If the call succeeds, a socket of type SOCK_STREAM is returned to the caller and given to the remote command as stdin and stdout. If fd2p
is nonzero, then an auxiliary channel to a control process will be set up, and a descriptor for it will be placed in *fd2p. The control
process will return diagnostic output from the command (unit 2) on this channel and will also accept bytes on this channel as being UNIX
signal numbers, to be forwarded to the process group of the command. If fd2p is 0, then the stderr (unit 2 of the remote command) will be
made the same as the stdout and no provision is made for sending arbitrary signals to the remote process, although you may be able to get
its attention by using out-of-band data.
See Also
gethostent(3n), getservent(3n), rcmd(3x), rexecd(8c)
rexec(3x)