delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=TVyyYhhMzKTRX6tR | |
vHUihhwwW+DtssGWeEXjkCTY7bA68OS3xhMvOsOju3Tj3ayWiBYU3NaN299T2mHm | |
O+aotiZOh6/U4gEurN20k5dztf9F9fwDLXvpeTXXh6o5cTUF5tf9sTi5lJsLpeTz | |
o3x4qcvr7Tx0HbeMFDbc2phZ+vI= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=EMC7BRVOYC+f6SNlUUXAtx | |
CVLvU=; b=XwCHcxpN1b2DCqg0CQfDA8VFZ1GQMj1hMiuWkrwsG40oOBn1fqf/ii | |
fC7xBH2KU97AX1IQFIJGK2bgbv8J3/RCGP7gTjbJSMY091mnI8m5Ra+NCruwHaCN | |
piH0NhUDHrT+tg8hWz4gRtB71Y802iXT3IDV1jpt4s/TCmeQG3rc0= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=4.6 required=5.0 tests=AWL,BAYES_80,FREEMAIL_FROM,FS_WITH_SMALL,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtpback.ht-systems.ru |
Date: | Fri, 28 Feb 2014 21:59:16 +0400 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <1853500932.20140228215916@yandex.ru> |
To: | mrushton <mrushton AT ptd DOT net>, cygwin AT cygwin DOT com |
Subject: | Re: Help with shortcuts |
In-Reply-To: | <239236467.6505411.1393596596199.JavaMail.root@ptd.net> |
References: | <239236467 DOT 6505411 DOT 1393596596199 DOT JavaMail DOT root AT ptd DOT net> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Greetings, mrushton! > Can some on give me a help with creating a shortcut to a shell script under Windows 7 ? > I am doing something like this in the windows shorcut : > C:\CygwinSoftware\bin\mintty.exe -i /Cygwin-Terminal.ico --exec /cygdrive/x/INBOUND/CWSCRIPTS/mymenu.sh > Well I found in the documentation that when you run a script this way, it is > not an interactive shell and it does not process your .bashprofile and > .bashrc and all the good stuff it normally does when it logs in. I am > missing aliases when it logs in this way. > How can I create a shortcut that would process my normal startup files and > then run the script I what ? > I have been fiddling with mkshortcut but have not had much luck with it as of yet. That's because you're doing it wrong. Include the call to "mymenu" from your profile script, once the rcfile is read. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 28.02.2014, <21:58> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |