Short option for Cygpath...?

Masterson, Dave dmasters@rational.com
Tue Oct 10 09:06:00 GMT 2000


Searching the source is almost always longer than asking a (hopefull, well
conceived) question -- especially when you're working on other things.

Thanks

-----Original Message-----
From: Chris Faylor [ mailto:cgf@cygnus.com ]
Sent: Monday, October 09, 2000 4:57 PM
To: 'cygwin@sources.redhat.com'
Subject: Re: Short option for Cygpath...?


On Mon, Oct 09, 2000 at 04:52:02PM -0700, Masterson, Dave wrote:
>I don't see it in "cygpath --help" for Cygwin 1.1 -- is there an option to
>have cygpath output the short name for a path, ie.:
>
>		<input>					<output>
>	/mnt/c/Program Files/Emacs	->	/mnt/c/PROGRA~1/Emacs
>	C:\Program Files\Emacs		->	C:\PROGRA~1\Emacs
>	/mnt/c/Program Files\Emacs	->	C:\PROGRA~1\Emacs
>
>It would save on having to figure out the quoting needed to handle names
>with spaces...

There is no such option in 1.1.4.  It will be in the next release.

Btw, you could look in the source to figure this out if you didn't trust
the help output.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list