cygstart man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

CYGSTART(1)			   Cygutils			   CYGSTART(1)

NAME
       cygstart - start a program or open a file or URL

SYNOPSIS
       cygstart	 [-oxefp?]  [-a	 action]  [-d directory] [--hide] [--maximize]
       [--minimize] [--restore] [--show]  [--showmaximized]  [--showminimized]
       [--showminnoactive]    [--showna]   [--shownoactivate]	[--shownormal]
       [--usage] [--version] [--license] [--reference] file [arguments]

DESCRIPTION
       cygstart is a command-line tool which allows you to let Windows start a
       program	or  open  a  file or URL in its associated application.	 It is
       similar to the Windows command-line start command.

OPTIONS
       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	 posi‐
	      tion.  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 posi‐
	      tion. 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

EXAMPLES
       Start Bash in a new window

       $ cygstart bash

       Open the Cygwin website in your default browser:

       $ cygstart http://www.cygwin.com

       Print a text file

       $ cygstart --print README.txt

       Open a Word document in a maximized window

       $ cygstart --maximize ~/projects/whatever/design.doc

COPYRIGHT
       Copyright (C) 2002 Michael Schaap

       cygstart	 is  free  software:  you can redistribute it and/or modify it
       under the terms of the GNU General Public License as published  by  the
       Free  Software Foundation, either version 3 of the License, or (at your
       option) any later version.

       cygstart is distributed in the hope that it will be useful, but WITHOUT
       ANY  WARRANTY;  without even the implied warranty of MERCHANTABILITY or
       FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General  Public  License
       for more details.

       You should have received a copy of the GNU General Public License along
       with this program.  If not, see <http://www.gnu.org/licenses/>

       See the COPYING file for full license information.

AUTHOR
       Michael Schaap <cygstart(at)mscha.org>

SEE ALSO
       <http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx>

cygstart 1.0 (cygutils)		  14 Mar 2002			   CYGSTART(1)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net