Re: NT wrappers

2003-02-14 Thread Luc Hermitte
Hello, * On Thu, Feb 13, 2003 at 06:45:28PM -0600, Robert Citek <[EMAIL PROTECTED]> wrote: > Here is a script called "write" that allows me to use WordPad from within > Cygwin: > > #!/bin/bash > [ "$1" = "" ] && exec /cygdrive/c/WINNT/system32/write > [ ! -f "$1" ] && touch "$1" > exec /

Re: NT wrappers

2003-02-13 Thread Robert Citek
At 07:43 PM 2/13/2003 +0100, Tino Lange wrote: >The "MS way" of scripting applications is generally *not* using the >commandline but using (D)COM. Exactly. Which is why I want to write a command-line wrapper for at least some of the DCOM functionality. >This can be done via lots of languages, v

Re: NT wrappers

2003-02-13 Thread Tino Lange
IL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 13, 2003 3:27 PM > Subject: NT wrappers > > > > > How can I discover what the command line options are to an NT program? > > > > I would like to write wrappers around some NT programs so tha

Re: NT wrappers

2003-02-13 Thread Corinna Vinschen
On Thu, Feb 13, 2003 at 09:27:43AM -0600, Robert Citek wrote: > > How can I discover what the command line options are to an NT program? winfoo /help Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAI

RE: NT Wrappers

2003-02-13 Thread Jim Drash
You can figure it out for yourself in most cases. Try: strings program.exe | less and look for them. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: htt

Re: NT wrappers

2003-02-13 Thread Vince Hoffman
- From: "Robert Citek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 3:27 PM Subject: NT wrappers > > How can I discover what the command line options are to an NT program? > > I would like to write wrappers around some NT program

NT wrappers

2003-02-13 Thread Robert Citek
How can I discover what the command line options are to an NT program? I would like to write wrappers around some NT programs so that they are easier to use from bash. For example, I would like to write a wrapper so that something like this is possible: $ explorer --print http://sources.redhat