Executing .exe file at WS Server from Unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Executing .exe file at WS Server from Unix
# 1  
Old 04-05-2012
Executing .exe file at WS Server from Unix

Hi We use Unix for our application,
I need to execute a .exe file at WS server, I am not sure if its possible with shell scripting. PLease let me know how it can be. Let me know if I am not clear.
Thanks in advance.
# 2  
Old 04-05-2012
What is a WS server?

What is your system?
# 3  
Old 04-06-2012
Hi, I need to connect to some third party Windows server from my Linux Redhat 5.4.
We us Oracle 10g database for our Oracle R12 Application.

Last edited by Dharv; 04-06-2012 at 08:30 AM..
# 4  
Old 05-30-2012
Error in executing command at WS

Hi All, please let me know if any one worked on this.
Actually i have a .exp file, i can run it at any location of my Unix prompt.
Then it will connect to third party WS system, and i will get a prompt like
C:\FOLDER>
Here if i need to place command like XYZ.exe prameter1 parameter2..
This works when enter commands
But When I tried with Shell script, it is giving and error after connecting to the WS
Error: No such file or directory
the thing is once it is connected to WS, the command i place is working at present Unix location(prompt)
Please let me know if I am not clear.
# 5  
Old 05-30-2012
You can try here doc. Something like this:

Code:
something.exp<<EOF
XYZ.exe $par1 $par2
EOF

The shell will evaluate par1 and par2 first and then the evaluated line will be fed to your command as input.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to run putty.exe file in server?

Hi, I want to run putty.exe in Solaris server.My main aim is to invoke the putty.exe in Solaris server from a web application(.jsp) deployed in the server so that putty terminal should open. Thanks in advance (11 Replies)
Discussion started by: chaithanyaa
11 Replies

2. UNIX for Advanced & Expert Users

Executing SQL file in UNIX

I have few .sql file at some location say /x/y/z. I want to execute those .sql files in UNIX server so that all packages,procedures can be applied on the database of the UNIX server. (1 Reply)
Discussion started by: Dip
1 Replies

3. Windows & DOS: Issues & Discussions

Hide svchost.exe (dos prompt) when executing scheduled task

hello everyone. I created a java program that will pop up a dialog, and scheduled it as a task. Everything works fine except when the scheduled java program runs and the dialog pops up, there is another dos prompt (svchost.exe) hanging behind the dialog box and doesn't go anywhere until the java... (0 Replies)
Discussion started by: milhan
0 Replies

4. UNIX for Dummies Questions & Answers

To copy a file from one unix server to another unix server through scripts

I am getting the fallowing error when i am trying to execute the scp commomd in shell script warning: You have no controlling tty. Cannot read confirmation. warning: Authentication failed. Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.). scp2: warning: ssh2... (1 Reply)
Discussion started by: manit
1 Replies

5. Programming

I have C++ exe file( no source code) and need to run many large dataset under unix, b

I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?http://www.codeproject.com/script/Forums/Images/New.gif I think "top" is not good and if using the profiler, it seems no free download, any ideas? (1 Reply)
Discussion started by: Danielwang1986
1 Replies

6. Programming

After executing a exe file, gdb pring many 'VT102', what does this mean?

(gdb)... (1 Reply)
Discussion started by: cdbug
1 Replies

7. Shell Programming and Scripting

Executing Windows batch file from UNIX

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

8. Shell Programming and Scripting

want to login remotly to server and start exe

Hello Unix Guru I need help to write the shell script My requirement is i have to start exe in unix hosts ( 20 unix server) through shell script . currently i have to login to all host rlogin -l testadmin servername /users/testadmin/bolt/ source boltsrc ./executor start ... (1 Reply)
Discussion started by: getdpg
1 Replies

9. UNIX for Advanced & Expert Users

executing applications/commands on a unix server from a windows PC

i have a network drive (samba) mounted on to my PC and also i have SSH client on my machine. however i need to run applications/commands on a unix server from the middle of a different executable(windows compatable one). so i need to connect to the unix server from SSH through the... (1 Reply)
Discussion started by: megastar
1 Replies

10. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
Login or Register to Ask a Question