delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/28/09:10:24

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:to:message-id:in-reply-to
:subject:mime-version:content-type:content-transfer-encoding; q=
dns; s=default; b=i/G1lXc5s0MYS+wEpp/qEluXF/8lhlmf5kQA3vFd7cde3f
VKGOBkf0gSVWMgMh90VnFqB3CNFilqkeKwi3fgJDPlAg5pF5HLbOkEBZGLUZ37r2
MygbOFj/J5IIyR5XqDnZ5RM/EtYm8tuL7mVoANZt8FOKqzeglLufR2CuPRnd4=
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:to:message-id:in-reply-to
:subject:mime-version:content-type:content-transfer-encoding; s=
default; bh=0Zg/kUro8fydMglCdhpm3t4FkUM=; b=wzWcOQK6YgRhHc7QE1Wb
TD1LV5R91XVzATJ9Tsv0rA8SF0VmLp7RybeeWO0z+hnfsNoT/fW9JMigxngTffX1
f6gmUcGYXqAEuhNJZj8ksPh7wZdZjD476rT3LJjCPkMYC8WD62OdVI9+Z3c2bnUZ
lcgCzhFQn3pfJSnlPxLZSkA=
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=2.4 required=5.0 tests=AWL,BAYES_50,FS_WITH_SMALL,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2
X-HELO: mtaz1.mailnet.ptd.net
Date: Fri, 28 Feb 2014 09:09:56 -0500 (EST)
From: mrushton <mrushton AT ptd DOT net>
Reply-To: mrushton AT ptd DOT net
To: cygwin AT cygwin DOT com
Message-ID: <239236467.6505411.1393596596199.JavaMail.root@ptd.net>
In-Reply-To: <1091286703.6497913.1393596329386.JavaMail.root@ptd.net>
Subject: Help with shortcuts
MIME-Version: 1.0
X-IsSubscribed: yes

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. 

--
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

- Raw text -


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