From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Søren \"Pengman\" Pedersen" Newsgroups: gmane.emacs.help Subject: Re: Ediff from command line - winXP Date: Thu, 6 Nov 2003 17:57:32 +0100 Organization: SunSITE.dk - Supporting Open Source Software Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1068138248 23137 80.91.224.253 (6 Nov 2003 17:04:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2003 17:04:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 18:04:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AHnYD-0000hX-00 for ; Thu, 06 Nov 2003 18:04:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AHnWW-0000dQ-Dc for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Nov 2003 12:02:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!news-FFM2.ecrc.net!uio.no!newsfeed1.uni2.dk!sunsite.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: h100.s.cs.auc.dk Original-X-Trace: sunsite.dk 1068137783 11833 192.168.195.100 (6 Nov 2003 16:56:23 GMT) Original-X-Complaints-To: staff@sunsite.dk Original-NNTP-Posting-Date: Thu, 6 Nov 2003 16:56:23 +0000 (UTC) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-Authenticated: peng@cs.auc.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:117922 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13861 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13861 > You coud use the emacs function expand-file-name: > expand-file-name is a built-in function. > (expand-file-name NAME &optional DEFAULT-DIRECTORY) > > Convert filename NAME to absolute, and canonicalize it. > Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative > (does not start with slash); if DEFAULT-DIRECTORY is nil or missing, > the current buffer's value of default-directory is used. > File name components that are `.' are removed, and > so are file name components followed by `..', along with the `..' itself; > note that these simplifications are done without checking the resulting > file names in the file system. > An initial `~/' expands to your home directory. > An initial `~USER/' expands to USER's home directory. > See also the function `substitute-in-file-name'. > > gnudoit "(ediff (expand-file-name \"%2\" \"%1\") (expand-file-name \"%3\" \"%1\"))" > > Then you call the batch file with the full directory path (don't know > how to get this) and the two file names. Thanx - That war just what I needed