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: Tue, 4 Nov 2003 12:28:14 +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 1067946162 24757 80.91.224.253 (4 Nov 2003 11:42:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 11:42:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 12:42:40 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 1AGza4-0002nc-00 for ; Tue, 04 Nov 2003 12:42:40 +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 1AGza2-0005i4-OZ for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2003 06:42:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!uninett.no!news.net.uni-c.dk!sunsite.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: h100.s.cs.auc.dk Original-X-Trace: sunsite.dk 1067945233 18572 192.168.195.100 (4 Nov 2003 11:27:13 GMT) Original-X-Complaints-To: staff@sunsite.dk Original-NNTP-Posting-Date: Tue, 4 Nov 2003 11:27:13 +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:117852 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:13789 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13789 "Stefan Reichör" wrote in message news:w4dbrrs8u43.fsf@felix.riic.uni-linz.ac.at... > > Hi Søren! > > I use gnudoit: > gnudoit "(ediff-files \"file1\" \"file2\")" > > Stefan. > Hi Stefan - and thanks that sort of works... And by that I means that it works - but not really in the the way I would like to do it: I would like to be able to use this command in a .bat-file, like: compare.bat: gnudoit "(ediff \"%1\" \"%2\")" but that wont work since the filename have to be in either d:\\files\\file1 (double backslash) or d:/files/file1 (unix way - with single slashes)... My questions is now: 1: Can I make the emacs system look in the current directory for the files?? 2: Is there a way to make batch-files expand %1 into either of these paths (Might be the wrong NG for this question) Søren