[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unc paths with cmd.exe on ntemacs
From: |
Leo |
Subject: |
Re: unc paths with cmd.exe on ntemacs |
Date: |
Fri, 29 Nov 2002 10:10:34 +1100 |
"Jason Rumney" <jasonr@btinternet.co> wrote in message
m2n0nuftlv.fsf@nyaumo.btinternet.com">news:m2n0nuftlv.fsf@nyaumo.btinternet.com...
> "Leo" <leo.broska@NOSPAM.isys.com.au> writes:
>
> > > cmd.exe does not support UNC paths as the current working directory.
> > > It supports them everywhere else AFAIK.
> >
> > so how can i make it work in emacs that it goes to the right directory?
>
> Emacs goes to the right directory. You can test that with C-x C-d and
> giving a UNC path. But CMD.EXE cannot use a UNC path as the current
> working directory, that is a limitation of CMD.EXE, not of Emacs.
>
> It might help if you explain exactly what is failing. Your previous
> message only mentioned that you get a message, it did not say that
> anything actually failed to work.
here a quick description:
i) dired shows a UNC-path directorty i.e.
"//linux/linux/var/oldwww/html/basic"
ii) i matrk more than one files, i.e. the three files "a", "b" and "c"
iii) i run via "!" the command dired-do-shell-command with the parameter
"checkindb* &" where checkindb.exe is an external prog, emacs finds in the
path.
iv) then i get in the buffer "*Async Shell Command*"the error msg
"CMD.EXE was started with \\linux\linux\var\oldwww\html\basic' as
the current directory path. UNC paths are not supported. Defaulting
to Windows directory."
and my external prg doesn't work because obviously it can find the files
"a", "b" and "c" in the windows directory.
please notice that it works perfect with "checkindb ?", when i mark only one
file! confusing, isn't it?
cheers, leooo