Larry Hall wrote:
Sure. Use 'cygstart'.
Just what I was looking for. Thanks for the hint. Regards,
Peter Mutsaers
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ
On Wed, 8 Jun 2005, Andrew DeFaria wrote:
> zzapper wrote:
>
> > On Wed, 8 Jun 2005 10:59:27 -0400 (EDT), wrote:
> >
> > > > #!/bin/bash
> > > > # csn
> > > > # description : launch most recent file (head)
> > > > # set -x
> > > > cygstart $(l\s -t * | head -1) &
> > >
> > > Make that 'cygstart "$
zzapper wrote:
On Wed, 8 Jun 2005 10:59:27 -0400 (EDT), wrote:
#!/bin/bash
# csn
# description : launch most recent file (head)
# set -x
cygstart $(l\s -t * | head -1) &
Make that 'cygstart "$(/bin/ls -t | head -1)"' (add quotes, otherwise
filenames with spaces will not work).
Slightly im
On 08/06/05, zzapper wrote:
> Slightly improved to ignore directories (and assuming that Windows files
> always have an extension)
> cygstart "$(/bin/ls -t *.* | head -1)"
why not
cygstart "$(/bin/ls -t . | head -1)"
?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem r
On Wed, 8 Jun 2005 10:59:27 -0400 (EDT), wrote:
>>
>> #!/bin/bash
>> # csn
>> # description : launch most recent file (head)
>> # set -x
>> cygstart $(l\s -t * | head -1) &
>
>Make that 'cygstart "$(/bin/ls -t | head -1)"' (add quotes, otherwise
>filenames with spaces will not work).
Slightly i
zzapper wrote:
explorer $XPATH
This reminds me: another useful command when jumping between the GUI and
the command line, is "explorer ." That opens an Explorer window in the
current working directory. Just as some things are easier on the
command line, others are easier from the G
On Wed, 8 Jun 2005, zzapper wrote:
> On Wed, 08 Jun 2005 09:23:53 -0400, wrote:
>
> >At 03:45 AM 6/8/2005, you wrote:
> >>Hello,
> >>
> >>I have largely replaced usage of windows explorer with a cygwin shell.
> >>One thing is cumbersome however: when I encounter, say, a .doc file in
> >>a directo
On Wed, 08 Jun 2005 09:23:53 -0400, wrote:
>At 03:45 AM 6/8/2005, you wrote:
>>Hello,
>>
>>I have largely replaced usage of windows explorer with a cygwin shell. One
>>thing
>>is cumbersome however: when I encounter, say, a .doc file in a directory, it
>>would be nice that I could "launch" this
At 03:45 AM 6/8/2005, you wrote:
>Hello,
>
>I have largely replaced usage of windows explorer with a cygwin shell. One
>thing
>is cumbersome however: when I encounter, say, a .doc file in a directory, it
>would be nice that I could "launch" this file with the program associated under
>windows.
>
>
Peter Mutsaers wrote:
> Hello,
>
> I have largely replaced usage of windows explorer with a cygwin shell. One
> thing
> is cumbersome however: when I encounter, say, a .doc file in a directory, it
> would be nice that I could "launch" this file with the program associated
> under
> windows.
>
>
Peter Mutsaers wrote:
> Is this possible, for example via a utility program kind of "launch file.doc"?
Ensure that you have the cygutils package, then "cygstart file.doc".
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.
Hello,
I have largely replaced usage of windows explorer with a cygwin shell. One thing
is cumbersome however: when I encounter, say, a .doc file in a directory, it
would be nice that I could "launch" this file with the program associated under
windows.
Is this possible, for example via a utility
12 matches
Mail list logo