> Can anybody help with a single keyboard command that would move the
> user to the Desktop, usable across all systems?
Well, the following THREE commands will work on any system, and then you
can easily reference the user's desktop:
mkdir /desktop
foo=`cygpath -D -w`
mount -u [-b|-t] "$foo" /des
On Mon, 24 Jan 2005, aschwarz1309 wrote:
> 'cygpath -d' returns a Dos path. If you are executing in a Cygwin shell
> you should retrieve a Unix path. Try:
> [snip]
Art,
The flags recognized by cygpath are case-sensitive. Fergus was talking
about the "-D" flag, which does indeed return the locat
'cygpath -d' returns a Dos path. If you are executing in a Cygwin shell you
should retrieve a Unix path. Try:
cygpath -u
However, to be generic (your question) you have to give cygpath the path to the
Desktop - which was your original question. In Win200x, WinXP, and I think
WinNT, the deskto
[EMAIL PROTECTED] wrote:
What I'm actually after is something like
~> cd `cygpath -D`
I think it will work with
cd "`cygpath -D`"
That's backticks inside double quotes. Windows makes it easier since (I
think) quotes are not allowed in filenames. Beyond that, I think a quick
and dirty procedure
[EMAIL PROTECTED] wrote:
> What I'm actually after is something like
>
>~> cd `cygpath -D`
>
> to move me to the Desktop (but that particular syntax fails). Any ideas?
Why not just
cd "`cygpath -D`"
?
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem repor
5 matches
Mail list logo