The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Windows services for unix - How do I run in batch rbdenham Windows & DOS: Issues & Discussions 3 06-05-2008 12:42 PM
backup through batch file in windows arulkumar UNIX for Dummies Questions & Answers 0 06-04-2008 02:10 AM
Executing Windows batch file from UNIX flip387 Shell Programming and Scripting 4 08-18-2006 05:39 PM
Run the scripts from windows to UNIX srinivas peyyal Shell Programming and Scripting 3 03-29-2005 05:11 AM
Porting of Windows written unix scripts to unix platform tamilselvi UNIX for Advanced & Expert Users 7 10-02-2002 07:55 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: May 2006
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #3 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: May 2006
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #4 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: Mar 2006
Posts: 106
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #5 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: May 2006
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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?
Reply With Quote
  #6 (permalink)  
Old 05-25-2006
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 366
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
... 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.
Reply With Quote
  #7 (permalink)  
Old 05-25-2006
Registered User
 

Join Date: May 2006
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
cygwin....

Cygwin may make it easier to do what you want.

http://www.cygwin.com
Reply With Quote
  #8 (permalink)  
Old 05-27-2006
Registered User
 

Join Date: May 2006
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
It seems to do at Windows some operations using Unix syntax, am I right? Creating files compatible with Windows, not with Unix.

So if compiling, it would create executables for Windows, right?

If it is, then it's not exactly what I meant. I need to perform steps in the Unix account, however I need to run them from Windows. Can cygwin do it?

Thank you!
Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script rsync ftp scp recursive segmentation fault(coredump) sftp script snoop unix solaris change ip address stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 03:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101