This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: NT wrappers
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, very easy for example with
>VBscript.
>
>Your wrapper will look something like that:
...
Thanks for the DCOM reference and the coding example.
>But: As Vince wrote this is quite offtopic here...
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 /cygdrive/c/WINNT/system32/write "$(cygpath -w "$1" )"
Why is modifying such a script to accept additional command-line arguments
not germaine to this list?
Regards,
- Robert
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/