[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: Jim Davidson
Subject: Re: [h-e-w] Converting cygwin path to windows path
Date: Wed, 13 Feb 2002 10:39:18 -0800

Stephen Leake <address@hidden> writes:
> 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.

??  It works me, after starting Emacs 20.7 with -q:

(convert-standard-filename "c:/foo/bar")

Do you have some custom settings?

As another poster has pointed out, Cygwin paths may not even have the ":",
which is a different issue, but at least the slashes can be handled.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]