From: Charles Wilson <cwilson@ece.gatech.edu>
To: Michael Schaap <cygwin@mscha.org>
Cc: cygwin@cygwin.com
Subject: Re: "start" for Cygwin
Date: Wed, 13 Mar 2002 00:11:00 -0000 [thread overview]
Message-ID: <3C8F00C3.4000900@ece.gatech.edu> (raw)
In-Reply-To: <5.1.0.14.2.20020302225310.04d3ceb0@imap.local.mscha.org>
Michael --
Did you want to add this to cygutils? I'm getting ready to release
1.0.0 and I'd like to put start(cygstart, whatev) in it for v1.0 rather
than later -- if its going in at all. If you'd rather keep it separate,
that's fine too.
--Chuck
Michael Schaap wrote:
> Hi,
>
> I've written a little "start" utility, which is similar to "cmd /c
> start", only better.
> It allows you to let Windows start a program or open a file or URL.
>
> For instance:
> - it understands POSIX paths (e.g. "start /tmp/hello.txt")
> - it can open files which don't have the "executable" flag set (ntsec)
> - it can start things minimized, hidden, etc. (e.g. start --minimize
> hello.txt")
> - it can run non-default actions (e.g. "start --print hello.txt",
> "start --explore .", "start --action=whatever myfile.ext")
> - it's a lot faster than "cmd /c start"
>
> I believe it should run on all Windows versions from Win95 up, but I've
> only tested it on Windows 2000. (Anyone using Win9x/ME, can you please
> let me know if it works?)
> (It's been a while since I did any serious C programming, so the code
> might be sloppy in some places. Improvements and bug reports are welcome.)
>
> You can download it at: http://www.mscha.com/start_0_9.zip .
>
> (Chuck, if you think this would be a good addition for cygutils, feel
> free to include it! After all, I did "borrow" some of the code
> framework from it. :-) )
>
> I'll include the output of "start --help" below.
>
> Best regards,
>
> - Michael
>
> --------------------------------8<-------------------------------
>
> start version 0.9, by Michael Schaap
>
> Let Windows start a program or open a file or URL.
>
> Usage: start [OPTION]... FILE [ARGUMENTS]
>
> Action options
> -a, --action=STRING Use specified action instead of default
> -o, --open Short for: --action open
> -x, --explore Short for: --action explore
> -e, --edit Short for: --action edit
> -f, --find Short for: --action find
> -p, --print Short for: --action print
>
> Directory options
> -d, --directory=STRING Set working directory
>
> Show options
> --hide Hides the window and activates another window
> --maximize Maximizes the specified window
> --minimize Minimizes the specified window and
> activates the
> next top-level window in the z-order
> --restore Activates and displays the window. If the
> window
> is minimized or maximized, Windows restores
> it to
> its original size and position. An application
> should specify this flag when restoring a
> minimized window
> --show Activates the window and displays it in its
> current size and position
> --showmaximized Activates the window and displays it as a
> maximized window
> --showminimized Activates the window and displays it as a
> minimized window
> --showminnoactive Displays the window as a minimized window. The
> active window remains active
> --showna Displays the window in its current state. The
> active window remains active
> --shownoactivate Displays a window in its most recent size and
> position. The active window remains active
> --shownormal Activates and displays a window. If the
> window is
> minimized or maximized, Windows restores it to
> its original size and position. An application
> should specify this flag when displaying the
> window for the first time
>
> Help options
> -?, --help Show this help message
> --usage Display brief usage message
> --version Display version information
> --license Display licensing information
> --reference Open MSDN reference for ShellExecute
>
> With thanks to MSDN:
> <http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/reference/functions/shellexecute.asp>
>
>
> Please report any bugs to <cygwin_start@mscha.org>.
>
--
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/
next prev parent reply other threads:[~2002-03-13 7:33 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-02 14:12 Michael Schaap
2002-03-02 21:15 ` Charles Wilson
2002-03-03 5:50 ` Michael Schaap
2002-03-03 14:53 ` Scott Evans
2002-03-13 0:11 ` Charles Wilson [this message]
2002-03-13 4:35 ` Michael Schaap
2002-03-14 21:21 ` Michael Schaap
2002-03-16 0:26 ` Charles Wilson
2002-03-02 22:04 Robert Collins
2002-03-02 22:16 ` Charles Wilson
2002-03-03 10:08 ` Max Bowsher
2002-03-02 22:22 Stephan Mueller
2002-03-03 0:46 ` Dr. Carsten Bormann
2002-03-03 5:57 ` Michael Schaap
2002-03-03 14:46 ` Dr. Carsten Bormann
2002-03-03 1:31 ` David Starks-Browning
2002-03-03 3:53 Robert Collins
2002-03-03 3:58 ` David Starks-Browning
2002-03-03 6:07 ` Michael Schaap
2002-03-04 7:17 Roth, Kevin P.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C8F00C3.4000900@ece.gatech.edu \
--to=cwilson@ece.gatech.edu \
--cc=cygwin@cygwin.com \
--cc=cygwin@mscha.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).