[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Converting cygwin path to windows path
From: |
Stephen Leake |
Subject: |
Re: [h-e-w] Converting cygwin path to windows path |
Date: |
13 Feb 2002 13:21:20 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Jim Davidson <address@hidden> writes:
> Joe Riel address@hidden writes:
>
> > How do I convert a cygwin path (with forward slashes)
> > to the equivalent windows/dos path (with backslashes)?
>
> Doesn't convert-standard-filename do what you want?
>
> It was written for situations like this.
Seems like it should, but in Emacs 20.7, I get :
(convert-standard-filename "c:/foo/bar")
"c:/foo/bar"
Since most Win32 stuff accepts "/" as a directory separator (one
notable exception is the DOS shell), this seems mostly ok.
--
-- Stephe