From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Leo" Newsgroups: gmane.emacs.help Subject: Re: unc paths with cmd.exe on ntemacs Date: Fri, 29 Nov 2002 10:10:34 +1100 Organization: Netspace Internet Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038525801 2979 80.91.224.249 (28 Nov 2002 23:23:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 28 Nov 2002 23:23:21 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18HXvL-0000Vm-00 for ; Fri, 29 Nov 2002 00:18:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18HXtR-0003c5-00; Thu, 28 Nov 2002 18:16:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!news.mel.connect.com.au!news.netspace.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: dsl-210-15-204-246.nsw.netspace.net.au Original-X-Trace: otis.netspace.net.au 1038525046 47028 210.15.204.246 (28 Nov 2002 23:10:46 GMT) Original-X-Complaints-To: usenet@otis.netspace.net.au Original-NNTP-Posting-Date: Thu, 28 Nov 2002 23:10:46 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Xref: shelby.stanford.edu gnu.emacs.help:107584 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4135 "Jason Rumney" wrote in message news:m2n0nuftlv.fsf@nyaumo.btinternet.com... > "Leo" 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