This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Useful Cygwinism: "Explorer Here"
On 28-6-2002 6:06, Gary R. Van Sickle wrote:
# Easy "Explorer Here" command
x()
{
if [ "${1}" = "" ];
then
XPATH=".";
else
XPATH="$(cygpath -w "${1}")";
fi
explorer $XPATH &
}
Easier (and faster), if you have the cygutils package installed:
x()
{
cygstart ${1:-.}
}
Or, if you prefer the two-pane layout (and haven't set it as the default):
x()
{
cygstart --explore ${1:-.}
}
- Michael
--
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/