delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/08/11:07:28

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthew Woehlke <mw_triad AT users DOT sourceforge DOT net>
Subject: Re: nedit windows integration
Date: Wed, 08 Aug 2007 10:06:44 -0500
Lines: 18
Message-ID: <f9cm64$gei$1@sea.gmane.org>
References: <C6EEDB0EB45A56439F73B1D23E39694A3DF6AC AT USORL02P702 DOT ww007 DOT siemens DOT net>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0
In-Reply-To: <C6EEDB0EB45A56439F73B1D23E39694A3DF6AC@USORL02P702.ww007.siemens.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Frederich, Eric P21322 wrote:
> I created an nedit shortcut on my desktop.
> It is just a shortcut to "c:\cygwin\usr\X11R6\bin\run.exe nedit"
> This works fine but I can't drag files on top of it to edit them because
> it expects /cygdrive/c/somefile.txt instead of c:\somefile.txt
> 
> Is there a solution for this kind of thing?
> I thought that run.exe would reformat the parameters into the correct
> format but I guess not.
> Is there another program that does?...maybe run.exe isn't the way to go.

Instead of 'nedit', you could run.exe a script that looks something like:

nedit $(cygpath -u "$1")

-- 
Matthew
People say I'm going insane. I say, "what do you mean, 'going'?".


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019