]> cygwin.com Git - cygwin-apps/cygutils.git/blame - src/cygstart/cygstart.1
Fold in latest clip fixes
[cygwin-apps/cygutils.git] / src / cygstart / cygstart.1
CommitLineData
4805cb48
CW
1.\"{{{}}}
2.\"{{{ Title
3.TH CYGSTART 1 "14 Mar 2002" "cygstart 1.0 (cygutils)" "Cygutils"
4.\"}}}
5.\"{{{ Name
6.SH NAME
7cygstart \- start a program or open a file or URL
8.\"}}}
9.\"{{{ Synopsis
10.SH SYNOPSIS
11.B cygstart
12.RB "[\-\fBoxefp?\fP] [\-\fBa\fP \fIaction\fP] [\-\fBd\fP \fIdirectory\fP]"
13.RB "[\-\-\fBhide\fP] [\-\-\fBmaximize\fP] [\-\-\fBminimize\fP]"
14.RB "[\-\-\fBrestore\fP] [\-\-\fBshow\fP] [\-\-\fBshowmaximized\fP]"
15.RB "[\-\-\fBshowminimized\fP] [\-\-\fBshowminnoactive\fP]"
16.RB "[\-\-\fBshowna\fP] [\-\-\fBshownoactivate\fP]"
17.RB "[\-\-\fBshownormal\fP] [\-\-\fBusage\fP] [\-\-\fBversion\fP]"
18.RB "[\-\-\fBlicense\fP] [\-\-\fBreference\fP]"
19.RB "\fIfile\fP [\fIarguments\fP]"
20.br
21.\"}}}
22.\"{{{ Description
23.SH DESCRIPTION
24.B cygstart
25is a command-line tool which allows you to let Windows start a program or open
26a file or URL in its associated application. It is similar to the Windows
27command-line \fBstart\fP command.
28.\"}}}
29.\"{{{ Options
30.SH OPTIONS
31
32.TP
33\fIAction options\fP
34
35.TP
36\fB\-a\fP, \fB\-\-action\fP=\fISTRING\fP
37Use specified action instead of default
38
39.TP
40\fB\-o\fP, \fB\-\-open\fP
41Short for: \fB\-\-action\fP \fIopen\fP
42
43.TP
44\fB\-x\fP, \fB\-\-explore\fP
45Short for: \fB\-\-action\fP \fIexplore\fP
46
47.TP
48\fB\-e\fP, \fB\-\-edit\fP
49Short for: \fB\-\-action\fP \fIedit\fP
50
51.TP
52\fB\-f\fP, \fB\-\-find\fP
53Short for: \fB\-\-action\fP \fIfind\fP
54
55.TP
56\fB\-p\fP, \fB\-\-print\fP
57Short for: \fB\-\-action\fP \fIprint\fP
58
59.TP
60\fIDirectory options\fP
61
62.TP
63\fB\-d\fP, \fB\-\-directory\fP=\fISTRING\fP
64Set working directory
65
66.TP
67\fIShow options\fP
68
69.TP
70\fB\-\-hide\fP
71Hides the window and activates another window
72
73.TP
74\fB\-\-maximize\fP
75Maximizes the specified window
76
77.TP
78\fB\-\-minimize\fP
79Minimizes the specified window and activates the
80next top-level window in the z-order
81
82.TP
83\fB\-\-restore\fP
84Activates and displays the window. If the window
85is minimized or maximized, Windows restores it to
86its original size and position. An application
87should specify this flag when restoring a
88minimized window
89
90.TP
91\fB\-\-show\fP
92Activates the window and displays it in its
93current size and position
94
95.TP
96\fB\-\-showmaximized\fP
97Activates the window and displays it as a
98maximized window
99
100.TP
101\fB\-\-showminimized\fP
102Activates the window and displays it as a
103minimized window
104
105.TP
106\fB\-\-showminnoactive\fP
107Displays the window as a minimized window. The
108active window remains active
109
110.TP
111\fB\-\-showna\fP
112Displays the window in its current state. The
113active window remains active
114
115.TP
116\fB\-\-shownoactivate\fP
117Displays a window in its most recent size and
118position. The active window remains active
119
120.TP
121\fB\-\-shownormal\fP
122Activates and displays a window. If the window is
123minimized or maximized, Windows restores it to
124its original size and position. An application
125should specify this flag when displaying the
126window for the first time
127
128.TP
129\fIHelp options\fP
130
131.TP
132\fB\-?\fP, \fB\-\-help\fP
133Show this help message
134
135.TP
136\fB\-\-usage\fP
137Display brief usage message
138
139.TP
140\fB\-\-version\fP
141Display version information
142
143.TP
144\fB\-\-license\fP
145Display licensing information
146
147.TP
148\fB\-\-reference\fP
149Open MSDN reference for ShellExecute
150
151.SH EXAMPLES
152Start Bash in a new window
153.PP
154.nf
155\fB$ cygstart bash\fP
156.fi
157.PP
158Open the Cygwin website in your default browser:
159.PP
160.nf
161\fB$ cygstart http://www.cygwin.com\fP
162.fi
163.PP
164Print a text file
165.PP
166.nf
167\fB$ cygstart --print README.txt\fP
168.fi
169.PP
170Open a Word document in a maximized window
171.PP
172.nf
173\fB$ cygstart --maximize ~/projects/whatever/design.doc\fP
174.fi
175
176.SH COPYRIGHT
177Copyright (C) 2002 Michael Schaap
178.PP
f7e43063 179\fBcygstart\fP is free software: you can redistribute it and/or modify
4805cb48 180it under the terms of the GNU General Public License as published by
f7e43063
CW
181the Free Software Foundation, either version 3 of the License, or
182(at your option) any later version.
4805cb48 183.PP
f7e43063
CW
184\fBcygstart\fP is distributed in the hope that it will be useful,
185but WITHOUT ANY WARRANTY; without even the implied warranty of
186MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
187GNU General Public License for more details.
4805cb48 188.PP
f7e43063
CW
189You should have received a copy of the GNU General Public License
190along with this program. If not, see
191.BR <http://www.gnu.org/licenses/>
192.PP
193See the COPYING file for full license information.
4805cb48
CW
194.\"{{{ Author
195.SH AUTHOR
48101fdb 196Michael Schaap <cygstart(at)mscha.org>
4805cb48
CW
197.\"}}}
198.\"{{{ See also
199.SH "SEE ALSO"
0a121f19 200.BR <http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx>
4805cb48 201.\"}}}
This page took 0.039375 seconds and 5 git commands to generate.