Visit Our UNIX and Linux User Community


How can I run scripts in my unix account from batch file in Windows?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can I run scripts in my unix account from batch file in Windows?
# 1  
Old 05-25-2006
How can I run scripts in my unix account from batch file in Windows?

Hi all,

I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change:

I'd like to make a batch file which would connect to my Unix account and run there the compilation commands. Then I could compile clicking a button at UltraEdit32.

Could you please tell me how I can do it?

Thank you,
Olga.

P.S. Sorry if I offend you by wanting to work on Windows. :) I just like UltraEdit32 and its possibility to bind many instances and processes around.
# 2  
Old 05-25-2006
Quote:
Originally Posted by olgafb
I'd like to make a batch file which would connect to my Unix account and run there the compilation commands. Then I could compile clicking a button at UltraEdit32.
I don't understand. Compile it under UNIX, then, once it's compiled, compile it??

Are you really using telnet instead of ssh?

I'm not offended, but the difficulty of using this kind of stuff is the primary reason not to use windows... I know of no straightforward way to automating this... Windows fights you every inch of the way. You might need to create a custom program.
# 3  
Old 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.
# 4  
Old 05-25-2006
Here...

Olga,

It is possible indeed, however the lack of details make it difficult to suggest anything. I had similar configuration by tuning up Exceed (with bounded extensions) some years ago.
As the requirement is not unique, you may wish checking your options with third part telnet, ssh2 and so on implementations also.

Sorry for a vagueness.
# 5  
Old 05-25-2006
Quote:
Originally Posted by amro1
Olga,

It is possible indeed, however the lack of details make it difficult to suggest anything. I had similar configuration by tuning up Exceed (with bounded extensions) some years ago.
As the requirement is not unique, you may wish checking your options with third part telnet, ssh2 and so on implementations also.

Sorry for a vagueness.
Which details would you need? How ssh2 and telnet could help?
# 6  
Old 05-25-2006
... in other words, you want to use a Windows program to compile code in a unix machine.
... you just can't do that.

You'll need much more than just a batch file, if it's even possible. There are a couple of applications out there that will let you install and run some Windows programs in Linux (like Cross Over Office ) , but I doubt it'd support a compiler.
# 7  
Old 05-25-2006
cygwin....

Cygwin may make it easier to do what you want.

http://www.cygwin.com
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #79
Difficulty: Easy
GNU/Linux is directly descended from BSD.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to write BTEQ batch scripts in UNIX?

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

2. Shell Programming and Scripting

To run a shell script in remote server from windows batch file

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

3. Shell Programming and Scripting

Windows Batch script for Unix commands

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

4. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

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

5. 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

6. UNIX for Dummies Questions & Answers

A mechanism like "batch file of windows" in Unix

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

7. Windows & DOS: Issues & Discussions

Windows services for unix - How do I run in batch

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

8. UNIX for Advanced & Expert Users

help needed to connect to windows from unix and run .bat file

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

9. Linux

Possible ways to run shell scripts on Windows

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

10. Shell Programming and Scripting

Run the scripts from windows to UNIX

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

Featured Tech Videos